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 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 unity第一人称射击小游戏,有demo,在原脚本的基础上进行修改以达到要求
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line