×
Blue Eagle 5 v1.5.4 has been Released (13 Sep 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.4 which is now available for download. This version addresses most of the issues that were discovered in development.

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Solved Alt and Title for Image

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
4 years 9 months ago #1 by Trony
In Kunena 4.0.7,
I added Alt and Title at Images.

I modded default.php in:

components -> com_kunena -> template -> system -> layouts -> image

defined ( '_JEXEC' ) or die ();
$document =& JFactory::getDocument();
<a href="<?php echo $this->escape($url); ?>" title="<?php echo $document->getDescription() ?>">
	<?php endif; ?>
 
<img src="<?php echo $this->escape($url); ?>"<?php echo $attributesImg; ?> alt="<?php echo $document->getDescription() ?>" />

With this, for Alt and Title i've the Meta Description of the Topic.

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

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

More
4 years 8 months ago #2 by Nikiniko
Replied by Nikiniko on topic Alt and Title for Image
I find default.php here
system/layouts/bbcode/image
in layouts i see onlly
prntscr.com/9itozr

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.108 seconds