![]() |
|
printTags seems to not work correctly ? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: printTags seems to not work correctly ? (/thread-6779.html) |
printTags seems to not work correctly ? - sketchy - 2010-03-15 it seems that no matter what i do, printTags() is outputting the tags without the 'preText' or as links. just a list of the tags. function printTags($option='links', $preText=NULL, $class='taglist', $separator=', ', $editable=TRUE, $editclass='', $messageIfEmpty = true ) this is my call from the image.php file of my template. will print only the tags, just, like, this, without, being, links, either. any ideas? printTags seems to not work correctly ? - kagutsuchi - 2010-03-15 Are you using the latest version of Zenphoto (1.2.9)? printTags seems to not work correctly ? - sketchy - 2010-03-16 yes. 1.2.9 printTags seems to not work correctly ? - acrylian - 2010-03-16 Make sure that you are not loggedin. If loggedin it does not display the pretext because of the inline editing capability. printTags seems to not work correctly ? - sketchy - 2010-03-16 ok. thanks. now, with tags that are 2 words with a space in the middle, the link is wrong. when i click on 'Double Window' - the search link puts a %22 before and after and messes up the return of thumbnails. why is that happening? printTags seems to not work correctly ? - acrylian - 2010-03-16 I do not see that on my install. How is your database setup? printTags seems to not work correctly ? - sketchy - 2010-03-16 is this what you mean? Zenphoto version 1.2.9 [5088] (Official Build)Current gallery theme: zpFocus_v1.2PHP version: 5.2.13Graphics support: PHP GD library bundled (2.0.34 compatible)PHP memory limit: 96M (Note: Your server might allocate less!)MySQL version: 5.0.67printTags seems to not work correctly ? - acrylian - 2010-03-17 I meant acutally the encoding of tables and fields in those tables. printTags seems to not work correctly ? - sketchy - 2010-03-17 ok. is this the table you mean? these are the rest: zp_administrators 65 MyISAM utf8_unicode_ci printTags seems to not work correctly ? - acrylian - 2010-03-17 That was what I mean as the wrong encoding can lead to funny issues. utf8 is great. But sadly I have no idea why that happens for you. I can't reproduce it with the standard themes. What theme are you using? (this is basic info btw...;-)) Probably a link to the site would be helpful, too. printTags seems to not work correctly ? - reneesanguinetti - 2010-03-25 Hello, I am using version 1.2.9 default theme. I thought my problem was EXIF/IPTC related, but I have figured out it stems back to my original questions about tag "links" not working. http://www.zenphoto.org/support/topic.php?id=7160 It puzzled me that the "links" worked at times and not others, but after much trial and error it seems the only tags that will not return images are multi-word tags. Such as "famous people". All single words work. Is there a way to change the code to return phrases or multi-word tags correctly without using a hyphen or comma? Because the keywords for the metadata field are derived from these tags it is important to me to have "phrases" for many of my keywords. Thank-you! printTags seems to not work correctly ? - sbillard - 2010-03-25 Check the setting of the "treat spaces as OR" search option. printTags seems to not work correctly ? - reneesanguinetti - 2010-03-25 I guess I always try to make things harder than they have to be! I had that setting enabled. With it disabled all works well. Thank-you for your help! |