ZenphotoCMS Forum
Code shown as is? - 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: Code shown as is? (/thread-3695.html)



Code shown as is? - Pierrot - 2008-09-07

Hey all!

I'm building a site that uses Zenphoto alone and have a question...

How can I make the description field a wyswyg field. I'd like to include code there that is shown as is.

I'm using the latest nightly build.

Thanks!




Code shown as is? - acrylian - 2008-09-07

Sorry, that is not possible.




Code shown as is? - code - 2008-09-07

a what field? lol




Code shown as is? - sbillard - 2008-09-07

What You See is What You Get




Code shown as is? - Pierrot - 2008-09-07

Ouch! No way around it?




Code shown as is? - Pierrot - 2008-09-07

Hey - thanks, I got it to work by putting the html into a wysiwyg editor and then looking at the output in an html editor (like the post editor in Wordpress) It's an extra step but it works well enough.




Code shown as is? - acrylian - 2008-09-08

Now that you say it, of course there is the inconvenient way by escaping the ">" and "




Code shown as is? - Pierrot - 2008-09-22

Thanks acrylian,

Just to pursue this further...

I am able to enter the custom html code into the description field and get the output I want. The problem is that if I save changes a second time the code reverts back to the original and I'm back to square one.

Is there any way around this? Perhaps, editing images one at a time instead of in a batch?