Post by JNeuhoff » Fri Aug 11, 2017 2:29 am

Available for OpenCart 3.0.2.x: Template Switcher

Image

This module, when enabled, causes OpenCart to automatically detect the correct template engine depending on a template file extension (e.g. '.tpl', '.twig', '.smarty' etc).

Extensions and web themes can now use both PHP and Twig templates. This allows theme developers to more easily port old web themes with their PHP templates (*.tpl files) to OpenCart 3.

MHC Web Design
Override Engine * Integrated VQMod * Multilingual SEO * Instant Option Price Calculator * TrustPilot Reviews * Download Options * Free Download Buttons * Export/Import Tool * Template Switcher PHP/Twig


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Johnathan » Fri Aug 11, 2017 7:00 am

Nice work, too bad this won't be included in the core.

Image
Image Image Image Image Image Image


User avatar
Global Moderator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by JNeuhoff » Fri Aug 11, 2017 5:50 pm

Johnathan wrote:
Fri Aug 11, 2017 7:00 am
Nice work, too bad this won't be included in the core.
Thanks.

There are still various open github issues on this, so maybe Daniel will change his mind. All he has to do is to swap his event/theme.php files with our corrected versions. This extension simply replaces these events with our improved ones so as to dynamically detect the correct template engine.

MHC Web Design
Override Engine * Integrated VQMod * Multilingual SEO * Instant Option Price Calculator * TrustPilot Reviews * Download Options * Free Download Buttons * Export/Import Tool * Template Switcher PHP/Twig


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 9 guests