pondělí 06. února 2012  Hledání

Blog Quatrocom.cz

Welcome to our blog which should serve like a knowledgebase for other people intersted in Webdesign, photoraphy, CMS, DotNetNuke etc. Blog is in english language only so please excuse a bad  grammar quality (english is not my main language). Do not hesitate to leave a comments or contact us with any query.

VIII24

Written by:SuperUser Account
24.8.2010 19:07 RssIcon

By default in Joomla is used the banner name like a alt text and is no way how to set up more suitable alt text. Moreover there is no title text at all.

Fix this is quite easy:

At first edit help.php file stored at "Joomla_dir"/modules/mod_banners.

Next find line contains:

$image  = '<img src="'.$baseurl.'images/banners/'.$item->imageurl.'" 
alt="'.JText::_('Banner').'" />';

and replace it by this piece of code:

$image  = '<img src="'.$baseurl.'images/banners/'.$item->imageurl.'" 
alt="'.$item->description.'" title="'.$item->tags.'" />';

After this you can finally add own alt text within the banner description box and title using meta tags box.

Tags: Joomla
Categories:

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment  Storno