Joomla-如何将管理员模块定位到管理员主页面以外的其他页面?

时间:2018-06-21 11:29:47

标签: joomla joomla3.0

我是Joomla的新手。我必须将一个管理员模块添加到要在管理员端编辑特定模块的页面上。
例如,这里是我要添加管理员模块的模块编辑页面
 specific Module editing page

但是在管理员模块编辑页面中menu assignment没有任何选项。它始终显示在前台管理员页面上

Admin module editing page



这是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>

能否请您指定我可以进行哪些更改来解决我的问题。谢谢!

1 个答案:

答案 0 :(得分:1)

您只能在管理部分(控制面板)的首页上显示模块。

如果要在组件的特定视图上显示模块,则可以为该视图创建模板替代并手动加载模块。

另一种方法是克隆默认的admin模板,然后您可以自定义新模板并在任何位置加载任何模块。