Answer the question
In order to leave comments, you need to log in
How to add custom code to menu title in Joomla 2.5?
Good afternoon.
Situation: there is a site Agrogreenhouse made an eternity ago on Joomla 2.5. I need to add custom html code to the menu headings (for example, an icon or bold). Each item has its own, so simply adding tags in the code will not work.
If you specify the code directly in the title of the menu item, it is chopped, leaving only the text. I looked for manuals, added a field filter="raw"
for code in modules.xml:
<field name="title" type="text"
description="COM_MODULES_FIELD_TITLE_DESC"
label="JGLOBAL_TITLE"
maxlength="100"
required="true"
filter="raw"
size="35"
/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question