| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Extending TWIG to add another filter | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Extending TWIG to add another filter
Please could someone help me create an add-on that just adds a TWIG filter that calls a PHP function.
I know the filter works as I currently have it working by editing the core XCart AbstractTwigEngine PHP classes. When I try to create an add-on extending \XLite\Core\Templating\Twig\Extension\XCart the redeployment of the store hangs at step 6 when it parses the modules. Thanks,
__________________
4.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|