2017 © Pedro Peláez
 

symfony-bundle redkite-labs-theme-engine-bundle

ThemeEngineBundle handles themes packed as standard Symfony2 Bundles

image

redkite-labs/redkite-labs-theme-engine-bundle

ThemeEngineBundle handles themes packed as standard Symfony2 Bundles

  • Thursday, May 15, 2014
  • by redkite-labs
  • Repository
  • 3 Watchers
  • 2 Stars
  • 5,119 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 19 Versions
  • 0 % Grown

The README.md

ThemeEngineBundle

ThemeEngineBundle is the bundle deputed to render a website created by RedKite CMS, both during the developing and then in production., (*1)

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., (*2)

Build Status Scrutinizer Quality Score Code Coverage, (*3)

Configuration

This bundle exposes some properties you can configure to adapt some bundle behaviors:, (*4)

  • deploy_bundle
  • base_template
  • stage_templates_folder
  • templates_folder
  • bootstrap

The deploy_bundle parameter

This parameter defines the bundle where RedKite CMS will deploy the generated files for the website pages., (*5)

red_kite_labs_theme_engine:
    deploy_bundle: AcmeWebSiteBundle

The base_template parameter

This parameter defines the base template the bundle will use to render each website page:, (*6)

red_kite_labs_theme_engine:
    base_template: AcmeWebSiteBundle:Theme:base.html.twig

The stage_templates_folder parameter

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:, (*7)

red_kite_labs_theme_engine:
    stage_templates_folder: StageFolder

The templates_folder parameter

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:, (*8)

red_kite_labs_theme_engine:
    templates_folder: ProdFolder

The bootstrap parameter

This parameter defines the bootstrap version required by a theme:, (*9)

red_kite_labs_theme_engine:
    bootstrap:
      theme: [{theme: BootbusinessThemeBundle, version: 2.x}]

The Versions