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 matlab透明图叠加
  • ¥50 基于stm32l4系列 使用blunrg-ms的ble gatt 创建 hid 服务失败
  • ¥15 关于#服务器#的问题:在VMware虚拟机中有一个域控服务器,克隆这个服务器后,使用克隆在另外一台服务器VMware虚拟机上打开,修改IP地址, 原域控服务器关闭
  • ¥150 计算DC/DC变换器平均模型中的参数mu
  • ¥25 C语言代码,大家帮帮我
  • ¥15 请问以下文字内容及对应编码是用了什么加密算法或压缩算法呢?
  • ¥50 关于#html5#的问题:H5页面用户手机返回的时候跳转到指定页面例如(语言-javascript)
  • ¥15 无法使用此凭据登录,因为你的域不可用,如何解决?(标签-Windows)
  • ¥15 yolov9的训练时间
  • ¥15 在linux系统下vscode运行robocup3d上场球员报错