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?
Are you using the latest version of Zenphoto (1.2.9)?
ok. thanks.
now, with tags that are 2 words with a space in the middle, the link is wrong.
example:
TAGS: Double Window, etc...
when i click on 'Double Window' - the search link puts a %22 before and after and messes up the return of thumbnails.
http://mysite.com/page/search/tags/%22Double+Window%22
instead of
http://mysite.com/page/search/tags/Double+Window
why is that happening?
is this what you mean?
ok.
zp_tags name varchar(255) utf8_unicode_ci
is this the table you mean?
these are the rest:
zp_administrators 65 MyISAM utf8_unicode_ci
zp_admintoalbum 60 MyISAM utf8_unicode_ci
zp_albums 145 MyISAM utf8_general_ci
zp_captcha 5 MyISAM utf8_unicode_ci
zp_comments 3 MyISAM utf8_general_ci
zp_images 2,022 MyISAM utf8_general_ci
zp_obj_to_tag 958 MyISAM utf8_unicode_ci
zp_options 457 MyISAM utf8_general_ci
zp_tags 308 MyISAM utf8_unicode_ci
zp_zenpage_news 7 MyISAM utf8_unicode_ci
zp_zenpage_news2cat 7 MyISAM utf8_unicode_ci
zp_zenpage_news_categories 3 MyISAM utf8_unicode_ci
zp_zenpage_pages 2 MyISAM utf8_unicode_ci
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.
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!
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!