Wednesday, January 1, 2014

How to use special characters in menu titles in joomla

the following tutorial will exhibit you how one can add different characters to the Joomla menu titles.


occasionally while you add a different persona to the menu title in Joomla, it is mirrored like it’s predefined code in your web site


Special_characters_in_joomla_menu_01



in an effort to resolve the difficulty you want to open the next file to your server:


modules/mod_menu/helper.php


And find the road:


$item->title = htmlspecialchars($item->title);

You want to add the following code before this line:


 $merchandise->title = str_replace(
array('<','>','&'),
array('<','>','&'), $item->title);

where the first array consists the checklist of the predefined character codes, the second array reflects the symbols of the predefined code.


undefined


Please, note that such symbols as ‘, ” on the second array must start from backslash \ e.g.


array('<','>','&','\'','\"'), $item->title);

you may to find extra special symbols and their predefined codes on the next page: http://www.degraeve.com/reference/specialcharacters.php


experience your up to date website:


undefined



How to use special characters in menu titles in joomla

No comments:

Post a Comment