ZenphotoCMS Forum
allow tags in album title - 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: allow tags in album title (/thread-12140.html)



allow tags in album title - normcdn - 2014-09-17

Hi,
I am trying to find where in the script is the function to prevent tags in album title.
I want to be able to use tags like or in the album title. The system automatically removes all tags in album title. Where should I look to disable this protection ?
regards,
Normand




allow tags in album title - acrylian - 2014-09-17

Zenphoto does allow tags in the titles actually. See:
http://zenphoto.maltem.de/album2/ (see the breadcrumb with an `` or on the index page itself).

If they are displayed depends on your theme as there are function to strip those tags (set of functions with "bare" in the name) or not. Also make sure that Options > General > Allowed tags allows the tag you wish to use.

Another way is just to modify the theme if you need to display something additionally to the title.




allow tags in album title - normcdn - 2014-09-17

thanks again acrylian for your help.
I saw your page and it works with the [i] tag.
I use the basic theme. I customized the index.php, album.php and image.php to fit my needs.
I can see the list of all tags allowed in my zenphoto, but I still do not know where to go to prevent the program from stripping the code. It always remove the tag after I click the {Apply} button.
Can you tell me which php file I should edit to disable this function?
thanks[/i]




allow tags in album title - acrylian - 2014-09-17

In Zenphoto 1.4.6 html tags are not cleared on saving. There is nothing to disable actually.

However themes don't exectue the html in all places and show it as plain text for example in breadcrumbs. In that case you have to modify the theme and possibly use the core object model directly. It is quite common not to use tags in titles. If you need extra info display the best way is to do that via the theme itself.