Reputation: 405
Running Joomla 3.1.5
I created a very simple module and I can't find anywhere in the module options where to add a class name. This was easy in earlier versions of Joomla; there was a "Menu Class Suffix" field under "ADVANCED OPTIONS."
How do I add a class name to my custom module? Thanks for the answers.
Upvotes: 0
Views: 243
Reputation: 1931
In your manifest (mod_yourmodule.xml) add the following field inside the respective fieldset
<field name="moduleclass_sfx"
type="text"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"/>
Hope it helps.
Upvotes: 1