Skip to content

gedeh/sfPropelBootstrapThemePlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfPropelBootstrapThemePlugin

This is a Twitter's Bootstrap theme for the Symfony 1.4 admin generator using Propel 1.6.7.

Installation

Add as Git submodule into project's plugins directory.

cwd [project]
git submodule add https://github.com/gedeh/sfPropelBootstrapThemePlugin plugins/sfPropelBootstrapThemePlugin

Then enable the plugin in project's config/ProjectConfiguration.class.php file.

  public function setup()
  {
    $this->enablePlugins(
      'sfPropelORMPlugin', // depends on sfPropelORMPlugin
      'sfPropelBootstrapThemePlugin'
      ... // install other plugin, the order doesn't matter
      );
  }

Then publish the assets.

php symfony plugin:publish-assets

Then use it from any generator.yml of admin generator generated module.

generator:
  class: sfPropelBoostrapGenerator
  param:
    model_class:           PropelModelClassName
    theme:                 sfBootstrapTheme
    ...
    css:                   main

Features

A theme that integrates Twitter Bootstrap to Symfony admin generator (sfPropelORMPlugin)

Using

Twitter Bootstrap 2.3.2, jQuery 1.8.1, Symfony 1.4, and Propel 1.6.7

Contributors