ThemeEngineBundle is the bundle deputed to render a website created by RedKite CMS, both during the developing and then in production.
Although an application created by RedKite CMS does not require the CMS itself to work in production environment, you need this bundle to render the twig files generated by RedKite to render the website in production.
This bundle exposes some properties you can configure to adapt some bundle behaviors:
- deploy_bundle
- base_template
- stage_templates_folder
- templates_folder
- bootstrap
This parameter defines the bundle where RedKite CMS will deploy the generated files for the website pages.
red_kite_labs_theme_engine:
deploy_bundle: AcmeWebSiteBundle
This parameter defines the base template the bundle will use to render each website page:
red_kite_labs_theme_engine:
base_template: AcmeWebSiteBundle:Theme:base.html.twig
This parameter defines the folder for the stage environment where RedKite CMS will deploy the generated files for the website pages into the deploy bundle:
red_kite_labs_theme_engine:
stage_templates_folder: StageFolder
This parameter defines the folder for the production environment where RedKite CMS will deploy the generated files for the website pages into the deploy bundle:
red_kite_labs_theme_engine:
templates_folder: ProdFolder
This parameter defines the bootstrap version required by a theme:
red_kite_labs_theme_engine:
bootstrap:
theme: [{theme: BootbusinessThemeBundle, version: 2.x}]