Page 1 of 1

Opencart 3.0.3.6 OCMOD is not working with Twig files. Several Extensions are *broken*

Posted: Wed Jul 29, 2020 11:39 am
by trueliar
Hello,

(edit) I added an ocmod extension in the marketplace to *fix the problem
https://www.opencart.com/index.php?rout ... n_id=39911


I don't know if it's intended or not but the 3.0.3.5 and 3.0.3.6 versions are not adding the modification for twig files even if the modifications are created in the storage/modification folder.


As a Workaround I replaced line 12 within system/library/template/twig.php

Code: Select all

$file = DIR_TEMPLATE . $filename . '.twig';
with

Code: Select all

$file = modification( DIR_TEMPLATE . $filename . '.twig' );
-----



cheers

Re: Opencart 3.0.3.6 OCMOD is not working with Twig files. Several Extensions are *broken*

Posted: Mon Aug 10, 2020 5:30 pm
by JNeuhoff