jpass / theme-bundle
Theme for semantic ui
Package info
Language:JavaScript
Type:symfony-bundle
pkg:composer/jpass/theme-bundle
v0.1
2017-02-01 14:03 UTC
This package is not auto-updated.
Last update: 2026-03-11 06:36:37 UTC
README
Installation
1. Download using composer
$ composer require jpass/theme-bundle@dev
2. Enable the bundle
Enable the bundle in the kernel
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Jpass\ThemeBundle\JpassThemeBundle(), // ... ); }
3. Configuration
In app/config/config.yml:
# Twig Configuration twig: ... form_themes: - 'JpassThemeBundle:theme:_form.html.twig' globals: theme: 'JpassThemeBundle:theme:layout.html.twig' # Knp Menu Bundle Configuration knp_menu: ... twig: template: 'JpassThemeBundle:theme:_menu.html.twig'
Usage
In your twig files
{% extends theme %}
{# ... #}