×
Kunena 5.1.3 Released (Yesterday)

The Kunena team has announce the arrival of Kunena 5.1.3 [K 5.1.3] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a maintenance release.

× 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
2 years 7 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
2 years 7 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
The following user(s) said Thank You: skoopm

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

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