View Issue Details

IDProjectCategoryView StatusLast Update
0007530OXID eShop (all versions)8. --- Twig engine ---public2023-09-11 19:15
ReporterbYemma 
PrioritylowSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Product Version7.0.0 
Target VersionFixed in Version 
Summary0007530: Config entry "blCheckTemplates" is not used with twig
DescriptionThe performance config entry "blCheckTemplates" has no effect in Twig in the current setup. There's no reload of the twig cache when the sources are edited.
Additional InformationTwig has similar to smarty's "compile_check" the option "auto_reload" which could be triggered by the config entry.
https://twig.symfony.com/doc/3.x/api.html
TagsTwig
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

bYemma

2023-09-11 16:42

reporter  

2023-09-11_15h58_33.png (16,440 bytes)
2023-09-11_15h58_33.png (16,440 bytes)

bYemma

2023-09-11 17:17

reporter   ~0015535

Last edited: 2023-09-11 17:19

View 2 revisions

The screen shot before was just a quick example. Can't delete it now.

A solution can look like this, an addition to OxidEsales\Twig\TwigEngineConfiguration (screen shot 1) and OxidEsales\Twig\TwigContext (screen shot 2):



2023-09-11_16h32_41.png (15,877 bytes)
2023-09-11_16h32_41.png (15,877 bytes)
2023-09-11_16h35_20.png (5,680 bytes)
2023-09-11_16h35_20.png (5,680 bytes)