Keyword

Linking Avatar

More
15 years 2 months ago #72608 by kc
Linking Avatar was created by kc
Does anyone know how to link the avatar from the module that displays the author?

Thanks!!!

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
15 years 2 months ago #72609 by olsen
Replied by olsen on topic Linking Avatar
wich module do you mean? K2login or K2tools???

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #72610 by kc
Replied by kc on topic Linking Avatar
K2 Content, I have the a small intro for each user that post form their latest article, also have their avatar enabled but would like to link their avatar to a small bio

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
15 years 2 months ago #72611 by olsen
Replied by olsen on topic Linking Avatar
Ok I saw it. If you dont use any subtemplate( as i see) for the module, what you can do its modify your default.php to include link for the avatar.
Its under /modules/mod_k2_content/tmpl/default/default.php. Lines who get author avatar are 32-34, so there u can add a link, and i think it will work.

Just try and let me know.

Ps. I recommend u to use subtemplate feature so u can do as many changes as you want at the default.php without worried.

Kade said:K2 Content, I have the a small intro for each user that post form their latest article, also have their avatar enabled but would like to link their avatar to a small bio

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #72612 by kc
Replied by kc on topic Linking Avatar
If anyone else runs into this problem, you can modify the module k2_content the default.php file under default folder on lines 32-34
<a href="#nogo"><img class="moduleItemAuthorAvatar" src="%3C?php%20echo%20$item-"/>authorAvatar; ?&gt;" alt="" /&gt;</a>

just add a link around your img


I would suggest as Olsen said, to duplicate the folder and rename it, and then select that as your sub-template in the module... so your not modifying the original files

thanks

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
15 years 2 months ago #72613 by olsen
Replied by olsen on topic Linking Avatar
Hi kade,
This forum board does nto alow [code] tags, so its not readble what you wrote, but i think it would be something like the attached file.


rgds

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
15 years 2 months ago #72614 by olsen
Replied by olsen on topic Linking Avatar
sorry for this post to upload file

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details
Attachments:

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum