JOOM::GALLERY::FORUM

Archive => Modules => Topic started by: spotdesign on 17-12-2012 13:17:22



Title: Show category title with a tooltip in JoomCategories module
Post by: spotdesign on 17-12-2012 13:17:22
Hi,

I use JoomCategories module.
I would like to show category title with a tooltip when the mouse is over the thumbnail.

How can I do?

Thanks.
Kind regards.


Title: Re: Show category title with a tooltip in JoomCategories module
Post by: Erftralle on 17-12-2012 17:24:53
Hi,

please post your module configuration.

Regards
Erfralle


Title: Re: Show category title with a tooltip in JoomCategories module
Post by: spotdesign on 17-12-2012 18:04:22
Hi,

this is my module configuration:

Common parameters
Module class suffix: 
Itemid: 
Sort mode for showing categories: Last Added
Number of categories: 100 
Root category ID: 1 
Category filter: 
Show hidden categories/images:  No
Thumbnail display mode: Manual setting
Thumbnail link: Slideshow
Show category title:  No 
Enable link on category title: No 
Show rating:  No
Show hits:  No 
Show category description:  No 
Show image description:  No

Parameters to configure the view
Number of columns: 6 
JoomGallery image source for thumbnail: Thumbnail
Dynamic cropping:  No 
Width in pixel: 50 
Height in pixel: 50 
Thumbnail dimension change: None
Dimension value in pixel: 150 
Thumbnail position: Above text
Horizontal alignment: Center
Show border:  No
Border width: 1px 
Border style: solid
Border color: #c3c3c3 
Border padding: 3px 
Background color: #685b52 
Show short texts:  No 
Show horizontal ruler:  No
Reset CSS for lists: No 
Show additional link: No
Alignment of the link: Right
Text of the link: View more...
 
Parameters to configure the slideshow
Image sorting:ID ascending
Max. number of images (0=all): 0
Use JoomGallery backend settings: Yes 
Display time_ 6000 
Transition effect: fade
Transition time: 2000 
Automatic calculation of max. dimensions:  No
Width: 600 
Height: 600 
Show infopane: Yes 
Show carousel: Yes 
Show arrows: Yes


Thanks.
Kind regards.


Title: Re: Show category title with a tooltip in JoomCategories module
Post by: Erftralle on 17-12-2012 18:22:13
Hi,

thank you. In case of using 'Slideshow' as 'Thumbnail link' you could try the following:

Change line 850 of .../modules/mod_joomcat/helper.php

from
Code
      $replace = '<a href="javascript:void(0);" onclick="jsJoomCatModule'.$this->getConfig('module_id').'_'.$catid.'.startSlideshow()">'.$matches[0].'</a>'

to
Code
      $replace = '<a href="javascript:void(0);" title="'.$catname.'" onclick="jsJoomCatModule'.$this->getConfig('module_id').'_'.$catid.'.startSlideshow()">'.$matches[0].'</a>';

Regards
Erftralle


Title: Re: Show category title with a tooltip in JoomCategories module
Post by: spotdesign on 17-12-2012 18:53:54
Thanks a lot!
It works!

Kind Regards.


Title: Re: Show category title with a tooltip in JoomCategories module
Post by: enb8695 on 26-05-2013 20:02:40
can you share module configuration. Anyway thanks.