ZenphotoCMS Forum
Tag cloud invalid links - 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: Tag cloud invalid links (/thread-6266.html)



Tag cloud invalid links - pjoern - 2009-12-10

In a new zenphoto gallery I'm currently working on, when I insert a tag cloud link in the sidebar (``), it produces invalid links caused by excess characters, e.g. http://eldoradito.dk/zen/page/search/%22kaffe%22 - instead of http://eldoradito.dk/zen/page/search/kaffe - the two instances of "%22" breaking the link.

Any ideas of how to correct this?




Tag cloud invalid links - sbillard - 2009-12-10

Those are quotes htmlencoded. They should work as links. But maybe we do not need to quote tags which are alphanumeric. We will make a change for that probably in tonight's build.




Tag cloud invalid links - pjoern - 2009-12-11

Well, it obviously doesn't work.

If and when you make a change in "tonight's build" will you let me know? - and how to include the change in my site, please!




Tag cloud invalid links - acrylian - 2009-12-11

I think the fix is in last nights build. You can check on every change yourself here: http://www.zenphoto.org/trac/timeline

Quote:how to include the change in my site, please!
http://www.zenphoto.org/2008/08/installation-and-upgrading/#2




Tag cloud invalid links - sbillard - 2009-12-11

Quotes work on most sites. Sorry that is not the case for yours. Change is up.

You will have a problem, though, if you have non alpha-numeric characters (e.g. spaces, etc.) in a tag. For that to work, the tag MUST be quoted.




Tag cloud invalid links - pjoern - 2009-12-11

Your solution worked half way - and thanks for that!

However, I still have problems with Danish special characters like "ø". If that could be corrected too, I would be most grateful!




Tag cloud invalid links - sbillard - 2009-12-11

Not sure about that one. I'll have to figure out which characters have to be quoted.




Tag cloud invalid links - sbillard - 2009-12-11

Ok, tonight's build. Just don't use the characters search uses for its syntax !&|'"() and the peck mark. If you do, there is nothing I can do for you.




Tag cloud invalid links - pjoern - 2009-12-12

THANK YOU, Stephen! That works for me. So now I'll continue making the final touches to the layout of my gallery before going public...