Novactive eZ Static Templates bundle is an eZ Platform bundle providing an ultra easy way to access twig templates from an url.
When you access a siteaccess in the siteaccess group
static_group, it will take the url and show the twig template having the corresponding path.
You can configure as many siteaccess as you want, and using the design engine you can configure a different theme for each siteaccess.
As we are using the siteaccess feature, u can also use the permissions to control the access.
Considering a theme
static_test, a siteaccess
static-test is automatically generated. The siteaccess is then matched by URI, the url
http://localhost/static-test/news/details will show the template in
Add the lib to your composer.json, run
composer require novactive/ezstatictemplatesbundle to refresh dependencies.
Then inject the bundle in the
bundles.php of your application.
Novactive\Bundle\EzStaticTemplatesBundle\EzStaticTemplatesBundle::class => [ 'all'=> true ],
The siteaccess configuration is autogenerated based on existing themes whose name start with "static_"