Skip to content

nicoloilano/cakephp-plugin-boost_cake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BoostCake

Build Status Total Downloads Latest Stable Version

BoostCake is a plugin for CakePHP using Bootstrap

Requirements

  • CakePHP >= 2.3
  • Bootstrap >= 2.3 (3.0 support)

Installation

Ensure require is present in composer.json. This will install the plugin into Plugin/BoostCake:

{
	"require": {
		"slywalker/boost_cake": "*"
	}
}

Enable plugin

You need to enable the plugin in your app/Config/bootstrap.php file:

CakePlugin::load('BoostCake');

If you are already using CakePlugin::loadAll();, then this is not necessary.

Documentation

BoostCake - Bootstrap Plugin for CakePHP

Development Policy

More Simple! Simple! Simple!

  • Develop only those that method's $options in FormHelper unable to solve.
  • Don't develop ajax/js helper

If you want to simplify the options, you can develop WrapBoostCake plugin.

What this plugin solves

  • Replaces the label of checkboxes and radios
  • Adds a wrapping div to inputs
  • Adds content before and after input
  • Adds error class in outer div
  • Changes pagination tags
  • Changes SessionHelper::flash()`s template