duanguan1573 2011-11-09 15:11
浏览 24

在Joomla 1.5中,将模块位置输出限制为仅1

I'm familiar with $this->countModules() and getModule(), but what I am looking to do is limit the output of specific module positions to the first module. I'm aware that I could customize which pages modules are set to output on, or that with CSS I could visually hide those extra modules.

Is there any way to limit amount of modules for a single module position within a template?

  • 写回答

1条回答 默认 最新

  • duanpo2037 2011-11-12 04:57
    关注

    no, Joomla is flexible enough to give the administrator the rights what should be displayed or not on a particular module position but there is no other way for you to limit the amount of modules for a single module position, but if you really want to have this for your joomla installation then you have no other option but to modify the core codes but that is too risky then.

    评论

报告相同问题?

悬赏问题

  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看