Loading...
 
Skip to main content

Features / Usability


HTML in menu module

Hi there,

I would like to use HTML in a menu that I have created, but noticed that if I include special characters (for example < or > or even ") he translates them into &lt, &gt, &quot ... In the database, he saves it correctly, but when he displays it, he translates these characters.

I tried going through the code to try to stop him translating this, but had no success. Could someone help me to do this please.

Thanks in advance
Destineo

P.S. This is strange, but it only seems to happen in different skins. seems like it has something to do with the templates

Ok, managed to find the answer myself ...

In each of the templates tiki-user_menu.tpl ... some templates were allowing escape characters, while others weren't :

{$info | escape} will translate all characters

{$info} will leave it as it is


Cool 😀