Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Mouseover thumbnail -- how to change unwanted pop-up message

  • imfritzy
  • imfritzy's Avatar Topic Author
  • Offline
  • New Member
More
15 years 11 months ago #20609 by imfritzy
I have installed Simple Image Gallery on my Joomla 1.0.11 site, and it basically works fine with one odd problem.  When I mouseover the thumbnail of photos, the message that pops up (after I have turned off all pop-up options in the mambot) is:  <br>[image name]</br>.

If I turn on the pop-up options and type in a desired pop-up message, the mouseover will display that message, plus the odd code that I just described.  I would like to delete that odd code because it is confusing to users.  But there doesn't seem to be an option for doing this.  Most other users of SIG seem to display the message "Click to enlarge."  I would like that, but the code <br>[image name]</br> seems embedded in any pop-up message.

I have put this message in both the SIG and SIG Pro forums, even though my question is about SIG, because SIG Pro seems to get more traffic.

Thank you for your suggestions.

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 11 months ago #20610 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Mouseover thumbnail -- how to change unwanted pop-up message
Hi there!

Could you please post a direct link to the gallery?

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • imfritzy
  • imfritzy's Avatar Topic Author
  • Offline
  • New Member
More
15 years 11 months ago #20611 by imfritzy

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 11 months ago #20612 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Mouseover thumbnail -- how to change unwanted pop-up message
Well, I'm afraid that the message passed through the title can't be parsed as an HTML code
and this is the reason of the appearance of the <b> code.

If you want to modify this behavior just modify the lines 69,70 of the plugin_jw_sig.php file.

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • imfritzy
  • imfritzy's Avatar Topic Author
  • Offline
  • New Member
More
15 years 11 months ago #20613 by imfritzy
Thanks.  That helped a lot.  I'm not very good at html, but I modified the code at those lines to say:

69:  if ($displaynavtip) {$html .= $navtip.'';}
70:  if ($displaymessage) {$html .= $message.'';}
71:  else {$html .= 'Click to enlarge.  Photo name:  '.$images[$a].'';}

When I hover over the thumbnail, the message that appears is:  Click to enlarge.  Photo name:  [name]  This is pretty good, but not perfect.

I would like to get rid of the "Photo name: [name]" part of the hover-over message, but when I delete the "Photo name:  '.$images[$a]." part of the string on line 71, I either get an error message, or if I delete just [$a], the word "Array" appears during the mouseover.  So obviously my very limited knowledge of html is hindering me. 

Please Log in or Create an account to join the conversation.

  • imfritzy
  • imfritzy's Avatar Topic Author
  • Offline
  • New Member
More
15 years 1 week ago #20614 by imfritzy
I've just upgraded to Joomla 1.5 and I have the same problem of the unwanted code appearing on the mouseover.  But I can't find the correct file and the code to alter to delete these unwanted <b>'s from appearing.  Can someone tell me which file, which lines, and which code to change?

Thank you.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #20615 by zakcobb
unzip the install package and edit lines 14 and 16 in the file "en-GB.plg_content_jw_sigpro.ini".  re-compress and install.

Please Log in or Create an account to join the conversation.

  • imfritzy
  • imfritzy's Avatar Topic Author
  • Offline
  • New Member
More
14 years 11 months ago #20616 by imfritzy
Thank you for the advice.  I've got the file that you identified uzipped (unfortunately, my editor does not lay out the lines numerically).  Anyway, the message that appears upon mouseover of the images on the front-end of my site is:

<b>[imagename.jpg]</b>

See  www.alcottdevsite.net/index.php?option=com_content&view=article&id=370:our-building-and-students&catid=79:photos-from-2009-2010&Itemid=125

Ideally, I'd replace it with something like "Click to Enlarge"

If you don't mind, exactly what part of the code would I change.  It's not obvious from the file's content.

Thanks again.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #20617 by Katia

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • imfritzy
  • imfritzy's Avatar Topic Author
  • Offline
  • New Member
More
14 years 11 months ago #20618 by imfritzy
Thank you.  I can see the file, but because of my inexperience, I just can't tell what is the appropriate code to change.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum