Did you clear the cache after editing your templates? Prestashop uses caching system to speed up the shop loading, so empty the cache directory to compile the new templates
Unsure if topic is dead, but here we go anyway. Make sure you have the theme you are working on loaded to start. You'll find this under Back Office > Modules > Themes.
As previous posters have mentioned head to Back Office > Preferences > Performance and enable "Force compile" and disable "cache".
There is a bit if an API available, but in my opinion start from the bottom up mate, there is reasonable documentation (again, as mentioned above: http://doc.prestashop.com/) available that will at least give you some questions to start asking.
看一下 VQMOD,它允许您使用 xml 文件来动态编辑控制器以添加功能,即在类别页面上添加过滤器或产品翻转图像。 VQMOD 是完美的,因为这样核心系统仍然可以更新。
As mentioned the cache is an issue here so always clear it. Also you can completely structure the template system how you want it, even editing the controllers if need be. As this is MVC you have to think about the whole system when customising it.
Have a look into VQMOD, this allows you to have xml files that edit the controllers on the fly for added functinality i.e. added filters or product rollover images on the category page. VQMOD is perfect as then the core system can still be updated.
发布评论
评论(6)
编辑模板后是否清除了缓存?
Prestashop使用缓存系统来加速商店加载,因此清空缓存目录以编译新模板
Did you clear the cache after editing your templates?
Prestashop uses caching system to speed up the shop loading, so empty the cache directory to compile the new templates
API 和文档是完全不同的东西。
该团队已更新文档(不再有 wiki),可以在 http://doc.prestashop.com/
您还应该查看论坛 (forum.prestashop.com),您可以在那里找到少量问题/答案。
API and documentations are a completely different things.
The team has updated the documentation (no more wiki) which can be found at http://doc.prestashop.com/
You should also check out the forum (forum.prestashop.com), you can find a low of questions / answers there.
不确定这个话题是否已经死了,但我们还是开始吧。确保您已加载正在处理的主题以启动。您可以在 Back Office > 下找到它。模块>主题。
正如之前的海报所提到的,前往后台>首选项>性能并启用“强制编译”并禁用“缓存”。
有一些可用的 API,但在我看来,从下到上开始,伙计,有合理的文档(再次,如上所述:http://doc.prestashop.com/) 至少会给你一些问题来开始提问。
Unsure if topic is dead, but here we go anyway. Make sure you have the theme you are working on loaded to start. You'll find this under Back Office > Modules > Themes.
As previous posters have mentioned head to Back Office > Preferences > Performance and enable "Force compile" and disable "cache".
There is a bit if an API available, but in my opinion start from the bottom up mate, there is reasonable documentation (again, as mentioned above: http://doc.prestashop.com/) available that will at least give you some questions to start asking.
只是删除缓存对我来说不起作用。我必须删除 /themes//modules// 目录。
Just deleting the cache not worked for me. I had to delete /themes/<current_theme>/modules/<edited_module>/ directory.
您可以禁用缓存高级参数>>表现。
you can disable cache Advanced Parameters >> Performance.
如前所述,缓存是这里的一个问题,因此请务必清除它。您还可以按照您想要的方式完全构建模板系统,甚至在需要时编辑控制器。由于这是 MVC,因此在定制时必须考虑整个系统。
看一下 VQMOD,它允许您使用 xml 文件来动态编辑控制器以添加功能,即在类别页面上添加过滤器或产品翻转图像。 VQMOD 是完美的,因为这样核心系统仍然可以更新。
As mentioned the cache is an issue here so always clear it. Also you can completely structure the template system how you want it, even editing the controllers if need be. As this is MVC you have to think about the whole system when customising it.
Have a look into VQMOD, this allows you to have xml files that edit the controllers on the fly for added functinality i.e. added filters or product rollover images on the category page. VQMOD is perfect as then the core system can still be updated.