2017 © Pedro Peláez
 

gplcart-module twig

A GPL Cart module that allows to render .twig templates

image

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

The README.md

Build Status Scrutinizer Code Quality, (*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)

  1. 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.
  2. Go to admin/module/list end enable the module
  3. Optionally adjust settings on admin/module/settings/twig

The Versions

10/03 2018

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

10/03 2018

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