dongqian3198 2012-12-04 20:44
浏览 23
已采纳

Opencart v1.5.4.1 - 未显示的模块

I am new to Opencart - switching from Magento, and I'm having a strange problem. When I installed fresh, everything worked great. I cleared the products, everything fine. I started work on a custom design (by editing the css of an existing template) and changed the settings that I needed to, and now strangely, none of the modules work.

The modules for the homepage, and the backpages, aren't displaying. I did a check for the $modules variable on the template files and the variable was returned null. The modules are set up correctly and enabled in the home layout, the theme correctly calls the modules, and the settings -> design -> layout all have the correct route. I'm totally clueless as to what's going on. I'm not familiar enough with the code base and I've literally spent all day searching for a solution with no results.

Please let me know if I can provide additional information. The site isn't live yet, but it's living at batgearbeyond.net if looking at the opencart code helps at all.

  • 写回答

1条回答 默认 最新

  • dou11655853 2012-12-05 18:54
    关注

    I figured this one out. In settings, somehow the default template was set to "default" instead of "home". I changed it to home and everything works lovely now! :)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?