Sort of a cross post
Posted: 20 May 2008, 22:06
Sort of a cross post, but the file is different for the plugin. I like the image title as a tooltip so it appears immediately with the cursor going over the image. Here's how to do it with the random image module.
Edit phocagallery.php. The file is in plugins/content.
Find the code JHTML::_('behavior.modal', 'a.modal-button');
Add before or afterJHTML::_('behavior.tooltip');
Find the code .'<div class="phocagallery-box-file-third">' . "\n"
Replace it with .'<div class="hasTip phocagallery-box-file-third" title="'.$image_object->title.
'">' . "\n"
When I open the file with an actual editor with line number, I'll add those also.
Edit phocagallery.php. The file is in plugins/content.
Find the code JHTML::_('behavior.modal', 'a.modal-button');
Add before or afterJHTML::_('behavior.tooltip');
Find the code .'<div class="phocagallery-box-file-third">' . "\n"
Replace it with .'<div class="hasTip phocagallery-box-file-third" title="'.$image_object->title.
'">' . "\n"
When I open the file with an actual editor with line number, I'll add those also.