1
安装时是否可以发布模块?在Joomla中安装组件时设置为发布状态
我正在安装一个模块以及组件。我需要在安装组件时将模块的状态设置为发布。
我使用manifest.xml
文件下面的代码:
<modules>
<module module="mod_custom" publish="true"/>
// I also tried none of them work
<module module="mod_custom" client="administrator" publish="true" />
</modules>
任何建议,请。
你为什么要自动发布该模块。 即使模块已发布,您将不得不浪费精力为网页上显示的位置设置一些参数 – Umair 2014-10-27 08:02:40