Provides website theme support, which makes it easy to share themes between websites or use a multi-site in your application
- See the require section in the composer.json
- Theme support
This bundle can be installed following these steps:
$ php composer.phar require integrated/theme-bundle:~0.3
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Integrated\Bundle\ThemeBundle\IntegratedThemeBundle()
// ...
);
}
# app/config/config.yml
integrated_theme:
themes:
mytheme1:
paths:
- @AppBundle/Resources/views/themes/mytheme1
fallback:
- default
mytheme2:
paths:
- @AppBundle/Resources/views/themes/mytheme2
- @OtherBundle/Resources/views/themes/mytheme2
fallback:
- mytheme1
- mytheme3
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Pull requests are welcome. Please see our CONTRIBUTING guide.
This bundle is part of the Integrated project. You can read more about this project on the Integrated for developers website.