Announcement

  •  » Extensions
  •  » [Thumbnail Tooltip] double quotes in description

#1 2017-02-07 15:25:18

windracer
Member
St. Pete, FL
2014-12-28
457

[Thumbnail Tooltip] double quotes in description

I've noticed that the Thumbnail Tooltip extension doesn't properly handle double quotes in image descriptions. I have my tooltips set to "Title - Description" and when I hover over a thumbnail, the first double quotes in the descriptions turns into a \ (escape character) and the rest of the text is missing. On the photo page, the tooltip doesn't include the double quotes at all (which is fine and I'm guessing that's not being done by the extension since it's not a thumbnail).

Offline

 

#2 2017-02-07 16:43:11

flop25
Piwigo Team
2006-07-06
7037

Re: [Thumbnail Tooltip] double quotes in description

Hello
author notified


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2017-02-07 17:02:26

windracer
Member
St. Pete, FL
2014-12-28
457

Re: [Thumbnail Tooltip] double quotes in description

Thanks. I didn't know how to file a bug in Trac and couldn't find the extension in Github so I posted here. :)

Offline

 

#4 2017-02-08 21:32:58

sarybe
Member
2014-03-08
11

Re: [Thumbnail Tooltip] double quotes in description

Hello windracer,

Indeed there is a problem with double quotes. I had not thought of them. I'll update my code.

Last edited by sarybe (2017-02-08 23:10:40)

Offline

 

#5 2017-02-08 21:38:33

windracer
Member
St. Pete, FL
2014-12-28
457

Re: [Thumbnail Tooltip] double quotes in description

Excellent, thanks, sarybe!

Offline

 

#6 2017-02-08 23:40:20

sarybe
Member
2014-03-08
11

Re: [Thumbnail Tooltip] double quotes in description

You can download the new version (http://fr.piwigo.org/ext/extension_view.php?eid=738). Normally it's good. Thank you for telling me about this problem.

I created a Github for this extension : https://github.com/Sarybe/ThumbnailTooltip

Last edited by sarybe (2017-02-08 23:44:01)

Offline

 

#7 2017-02-09 01:00:51

windracer
Member
St. Pete, FL
2014-12-28
457

Re: [Thumbnail Tooltip] double quotes in description

Confirmed it's working ... thanks for the quick turnaround!

Offline

 

#8 2017-05-29 23:12:37

Design by Sue
Member
2017-03-27
36

Re: [Thumbnail Tooltip] double quotes in description

Trying to reach Sarbye - I cannot get the Thumbnail Tooltip plug in to work on my site - I have the plug in set to not display and the tooltips still show up.  I have been trying to reach you and am sorry to crash into this post but can't find any other way to reach you - I sure hope you reply to this.  Site is http://www.designbysue.com/photos/  I do not want the tooltips to display at all because it is duplicate information.  Please help.

Thanks
Sue

Offline

 

#9 2017-05-30 10:37:26

sarybe
Member
2014-03-08
11

Re: [Thumbnail Tooltip] double quotes in description

Hello Sue,

Thumbnail Tooltip is not used to permanently hide the tooltip on the pictures. The extension only allows you to add new information in the tooltip or to leave the original tooltip.

If you want to permanently delete the tooltip, you must look for another extension, or create a new template and copy the file /themes/default/template/thumbnails.tpl, then delete on line 37

Code:

title="{$ thumbnail.TN_TITLE}"

Offline

 

#10 2017-05-30 13:39:28

Design by Sue
Member
2017-03-27
36

Re: [Thumbnail Tooltip] double quotes in description

Thank you for your fast reply - sorry I totally misunderstood the usage of the plug in - even the wording in the plug in itself led me to believe you could hide it by the yes / no boxes.

I appreciate your taking the time to tell me how to remove it (what code to look for).  I am not sure how to do what you wrote but I at least know know what to research.  (your's seems to be the only plug in to do with the tooltips)  I wish there was a way to do this through css but I have not found one.

Thank you again

Sue

EDIT:  It appears to "create a new theme" is like creating a child theme was in Menalto Gallery.  Found info here http://piwigo.org/doc/doku.php?id=dev:e … e_creation for anyone else with this question.

Last edited by Design by Sue (2017-05-30 13:43:23)

Offline

 
  •  » Extensions
  •  » [Thumbnail Tooltip] double quotes in description

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact