gplcart-module twig
A GPL Cart module that allows to render .twig templates
gplcart/twig
A GPL Cart module that allows to render .twig templates
- Saturday, March 10, 2018
- by gplcart
- Repository
- 0 Watchers
- 0 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
, (*1)
Twig is a GPL Cart module that integrates TWIG template engine into your GPL Cart site. Essentially it tries to parse every template file with .twig extension, (*2)
Custom TWIG functions added by this module:, (*3)
- error()
- text()
- access()
- url()
- date()
- attributes()
- config()
- configTheme()
- teaser()
- filter()
- truncate()
- path()
See \gplcart\core\Controller
for corresponding methods, (*4)
Installation, (*5)
This module requires 3-d party library which should be downloaded separately. You have to use Composer to download all the dependencies., (*6)
- From your web root directory:
composer require gplcart/twig
. If the module was downloaded and placed into system/modules
manually, run composer update
to make sure that all 3-d party files are presented in the vendor
directory.
- Go to
admin/module/list
end enable the module
- Optionally adjust settings on
admin/module/settings/twig
dev-master
9999999-dev
A GPL Cart module that allows to render .twig templates
Sources
Download
GPL-3.0+
GPL-3.0-or-later
The Requires
twig
php
ecommerce
shopping cart
gplcart
gplcart module
dev-dev
dev-dev
A GPL Cart module that allows to render .twig templates
Sources
Download
GPL-3.0-or-later
The Requires
twig
php
ecommerce
shopping cart
gplcart
gplcart module