Joomla - 如何将管理员模块定位到不同于主管理员页面的其他页面?
Joomla - How can I locate Administrator Module to different page other than main Administrator page?
我是 Joomla 新手。我必须将管理员模块添加到管理员端正在编辑特定模块的页面。
例如这里是我要添加管理员模块的模块编辑页面
但是管理员模块编辑页面没有menu assignment
选项。它总是显示在前端管理员页面
这是XML文件
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="administrator" method="upgrade">
<name>mod_admincustom</name>
<author>Your Name Goes Here</author>
<creationDate>December 2015</creationDate>
<copyright>Copyright (C) 2015 Your Brand Goes Here</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>email@nomail.com</authorEmail>
<authorUrl>www.yoursite.any</authorUrl>
<version>1.0.0</version>
<description>Custom Module for Administrator</description>
<files>
<filename module="mod_admincustom">mod_admincustom.php</filename>
</files>
</extension>
请您具体说明我可以做什么样的改变来解决我的问题。谢谢!
您只能在管理部分(控制面板)的首页显示模块。
如果您想在组件的特定视图上显示您的模块,您可以为该视图创建一个模板覆盖并手动加载该模块。
另一种选择是克隆admin的默认模板,然后您可以自定义新模板并在任何地方加载任何模块。
我是 Joomla 新手。我必须将管理员模块添加到管理员端正在编辑特定模块的页面。
例如这里是我要添加管理员模块的模块编辑页面
但是管理员模块编辑页面没有menu assignment
选项。它总是显示在前端管理员页面
这是XML文件
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="administrator" method="upgrade">
<name>mod_admincustom</name>
<author>Your Name Goes Here</author>
<creationDate>December 2015</creationDate>
<copyright>Copyright (C) 2015 Your Brand Goes Here</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>email@nomail.com</authorEmail>
<authorUrl>www.yoursite.any</authorUrl>
<version>1.0.0</version>
<description>Custom Module for Administrator</description>
<files>
<filename module="mod_admincustom">mod_admincustom.php</filename>
</files>
</extension>
请您具体说明我可以做什么样的改变来解决我的问题。谢谢!
您只能在管理部分(控制面板)的首页显示模块。
如果您想在组件的特定视图上显示您的模块,您可以为该视图创建一个模板覆盖并手动加载该模块。
另一种选择是克隆admin的默认模板,然后您可以自定义新模板并在任何地方加载任何模块。