douwen9534 2018-10-11 10:45
浏览 60

在布局文件中定义后Joomla模块位置不更新

After I made my own additions to the Joomla template files -- I added a module position in a cloned version of the layout file, added the position in the templateDetails.xml file, and checked that the template layout .ini file has my module position -- the module position still does not show up in the layout tab of the backend.

I first tried this in localhost using xampp and everything seems to work fine. Once I transfer the files using FileZilla to the server, the module positions that I added in the layout does not seem to work. I could still find the position in the dropdown, but it does not appear in the blocks of the layout tab. This is the layout that appeared using localhost, but the view that I see after I transferred the files was only the header (no "inner" or "banner" positions):

This is the layout that appeared using localhost, but the view that I see after I transferred the files was only the header (no "inner" or "banner" positions.

  • 写回答

1条回答 默认 最新

  • dougou8639 2018-10-18 12:39
    关注

    Module positions are added the first time you install a template - you won't see any new module positions if you update the the XML manifest file of the template. However, you can still use these new positions if you just type in their name. Hopefully, Joomla in the future would have a method to flush and refresh module positions.

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog