2017 © Pedro Peláez
 

library multitaxonomy-pagerfanta-twig-templates

Multitaxonomy (Twig templates for pagerfanta objects)

image

php-taxonomy/multitaxonomy-pagerfanta-twig-templates

Multitaxonomy (Twig templates for pagerfanta objects)

  • Friday, March 16, 2018
  • by Nardberjean
  • Repository
  • 1 Watchers
  • 0 Stars
  • 72 Installations
  • HTML
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 9 % Grown

The README.md

multitaxonomy-pagerfanta-twig-templates

Multitaxonomy (Twig templates for pagerfanta objects), (*1)

Done: renamed to php-taxonomy/multitaxonomy-pagerfanta-twig-templates

  • DBAL-util is not used directly in templates!

These templates are used like a library.

$c->loadFromExtension('twig', [
    'paths' => [
        '%kernel.project_dir%/vendor/php-taxonomy/multitaxonomy-pagerfanta-twig-templates' => 'MultiTaxonomyDbalUtilBundle',
        // templates is the new directory name in Symfony 4
        // '%kernel.project_dir%/vendor/php-taxonomy/multitaxonomy-dbal-util-bundle/Resources/views' => 'MultiTaxonomyDbalUtilBundle',
    ],
]);
  • https://symfony.com/doc/current/templating/namespaced_paths.html
    • https://symfony.com/doc/3.3/templating/namespaced_paths.html
  • https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory
  • http://fabien.potencier.org/symfony4-directory-structure.html

Check syntax

With twigcs

  • https://phppackages.org/p/allocine/twigcs
  • Like in https://phppackages.org/p/symfony/maker-bundle

With symfony ~framework-bundle

$ bin/console lint:twig vendor/php-taxonomy/multitaxonomy-dbal-util-pagerfanta-twig-templates/
  • https://symfony.com/doc/current/templating/syntax.html

The Versions

16/03 2018

dev-master

9999999-dev https://github.com/php-taxonomy/multitaxonomy-pagerfanta-twig-templates

Multitaxonomy (Twig templates for pagerfanta objects)

  Sources   Download

ISC

The Requires

 

The Development Requires

by Jean-bernard Addor

twig tag taxonomy classification pagerfanta category snowyowl