Hi,
I have an old Joomla 2.5 site with K2 version 2.9.0
I have activated to show the author's name in K2's articles but I would like to click on the author's name to reach his contact page (the one created with the contact component where the contact is connected to the user / author).
Currently my K2 item.php file presents this string:
<a rel="author" href="<?php echo $this-> item-> author-> link;?> "> <? php echo $ this-> item-> author-> name; ?> </a>
but I would like you to focus on this type of link:
index.php?option=com_contact&view=contact&id=*
where * is the contact id, I'm not familiar with php and I do not know how to write the correct syntax.
Can someone help me, please?
Thank you