Hide Mouseover on Phoca Plugin

Phoca Gallery plugins - plugins for Phoca Gallery extension
benjamingray
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Jul 2009, 09:25

Hide Mouseover on Phoca Plugin

Post by benjamingray »

Thank you for such a great and versatile plugin!

I apologize if this question has been answered but I've only been able to find a relative question for the random image module.

How do I hide the mouseover title and keep the description in shadowbox detail view?

In default.php, I've changed this: if ($value->overlib == 0) {echo ' title="'. $value->title.'"';}

to this: if ($value->overlib == 0) {echo ' title="'. $value->description.'"';}

in order to see the description in shadowbox detail view. I can coment this line out but then I lose the description.

I'm a newbie, help! Almost have my site done, this is one of the last details.

Thanks in advance.
benjamingray
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Jul 2009, 09:25

Re: Hide Mouseover on Phoca Plugin

Post by benjamingray »

Just realized it only does this in Firefox, in IE the mouseover is gone. I commented out the following lines:

echo JHTML::_( 'image.site', $value->linkthumbnailpath, '', '', '', $value->title );

else {echo JHTML::_( 'image.site', $value->linkthumbnailpath, '', '', '', '' );
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hide Mouseover on Phoca Plugin

Post by Jan »

OK
If you find Phoca extensions useful, please support the project
benjamingray
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Jul 2009, 09:25

Re: Hide Mouseover on Phoca Plugin

Post by benjamingray »

benjamingray wrote:Just realized it only does this in Firefox, in IE the mouseover is gone. I commented out the following lines:

echo JHTML::_( 'image.site', $value->linkthumbnailpath, '', '', '', $value->title );

else {echo JHTML::_( 'image.site', $value->linkthumbnailpath, '', '', '', '' );

Sorry maybe my words were confusing, this was my solution for getting rid of the mouseover in IE, I still have the issue in Firefox, can we reopen this question? Still looking for a Firefox solution. Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hide Mouseover on Phoca Plugin

Post by Jan »

Hi, I think there is no solution for it as shadowbox needs this tag :-(
If you find Phoca extensions useful, please support the project
benjamingray
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Jul 2009, 09:25

Re: Hide Mouseover on Phoca Plugin

Post by benjamingray »

What I want to remove is the alternate text when you hover over the images.

Can this be done by removing the following from the code?

alt="'.$picTitle.'"

I removed this from phocagallery.php with no results. Is there another file where I need to remove this statement?

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hide Mouseover on Phoca Plugin

Post by Jan »

the template you can find here:

components/com_phocagallery/views/category/tmpl/default.php

Jan
If you find Phoca extensions useful, please support the project
Post Reply