Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
运行 Joomla 3.1.5
我创建了一个非常简单的模块,但在模块选项中找不到添加类名的任何地方。这在 Joomla 的早期版本中很容易;“高级选项”下有一个“菜单类后缀”字段。
如何将类名添加到我的自定义模块?感谢您的回答。
在您的清单 (mod_yourmodule.xml) 中,在相应的字段集中添加以下字段
<field name="moduleclass_sfx" type="text" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"/>
希望能帮助到你。