Page 1 of 1

Hide Mouseover on Phoca Plugin

Posted: 13 Jul 2009, 09:35
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.

Re: Hide Mouseover on Phoca Plugin

Posted: 14 Jul 2009, 06:47
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, '', '', '', '' );

Re: Hide Mouseover on Phoca Plugin

Posted: 14 Jul 2009, 13:29
by Jan
OK

Re: Hide Mouseover on Phoca Plugin

Posted: 15 Jul 2009, 16:27
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!

Re: Hide Mouseover on Phoca Plugin

Posted: 21 Jul 2009, 21:16
by Jan
Hi, I think there is no solution for it as shadowbox needs this tag :-(

Re: Hide Mouseover on Phoca Plugin

Posted: 26 Jul 2009, 08:17
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.

Re: Hide Mouseover on Phoca Plugin

Posted: 29 Jul 2009, 14:54
by Jan
the template you can find here:

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

Jan