Mr. Bro
Twig менеджер
БЕСПЛАТНО

OC сервер ID: oc-29835

Если Вы хотите найти модули, которые будут максимально совместимы с версией интернет магазина, а так же уделяете внимание качеcтву кода, то предлагаем к просмотру: twig менеджер, это решение было разработано специально для магазинов, работающих на платформе OpenCart, с поддержкой от нашей компании каждого магазина, работающего на нашей CMS Brocart.



При скачивании бесплатного дополнения, мы не даем 100% гарантии, что оно будет работать на Вашем магазине, просим быть внимательными к интсрукциям по установке!




Twig is a powerful theme engine and is implemented in Opencart v3.x This means you have to create two different extensions to work on OC2.x and OC3.x or do you? We have created Twig manager so that you could develop your extensions in twig and then port them to OC2.x. Focus on development, not compatibility.


How it works

  1. Install twig manager via extension installer
  2. Refresh modification cache
  3. Now you can develop your view files in .twig



Q&A

Q. How is the twig support implemented?
A. There is a small ocmod file that adds 2 lines of code to your system/engine/loader.php file. It checks if there is a twig file available for the rout and passes that file through the twig compiler. If it doesn't find a twig file, it falls back to .tpl.

Q. When I uninstalled twig manager, it broke my site. I see a 500 error!
A. Just clear the modification cache via FTP at system/storage/modification - delete all files. This happens when you delete the code but not the modification. In the latest versions, we added a check to avoid this error, in case such a delete happens.

Q. Can I use this in my development and sell my extensions with this module?
A. Absolutely. You are free to use this extension as you please. You can create and sell extensions using twig manager.

Q. Is support included?
A. Yes, We always help our users. Visit https://dreamvention.ee/support









Светлана – 27.10.2017

Здравствуйте! Не сразу поняла как скачать файл, потом получилось, все нормально работает, пока не проставила права на изменения в админке, то не видела файл (, надо бы инструкцию. Всем рекомендую!