bmilesp/bootstrap_extend

There is no license information available for the latest version (2.8.5) of this package.

Classes and helpers that extend CakePHP for a simple and powerful drop-in solution for Twitter Bootstrap

Installs: 192

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:cakephp-plugin

2.8.5 2016-04-06 13:20 UTC

README

A Simple Yet Configurable Drop-In Solution to Add Twitter Bootstrap to Your Project

Installation

[Using Composer]

View on Packagist, and copy the json snippet for the latest version into your project's composer.json. Eg, v. 1.0.0 would look like this:

{
	"require": {
		"bmilesp/bootstrap_extend": ""2.6.x-dev"
	}
}

[Manual]

[GIT Clone]

In your Plugin directory type:

git clone -b master git://github.com/bmilesp/BootstrapExtend.git Upload

Enable plugin

Add following lines in yout app/Config/bootstrap.php file

CakePlugin::load('BootstrapExtend', array('bootstrap' => true));

Usage

Add the following elements into your layout somewhere within the tags:

	<?php 
		echo $this->element('BootstrapExtend.layout_requirements/external_resources');
		echo $this->element('BootstrapExtend.layout_requirements/external_resources_overrides'); 
	?>

Add the following to the end of the layout before the closing tag:

	<?php echo $this->element('BootstrapExtend.layout_requirements/ext_block'); ?>

In your AppController, overload the Form Helper with the following:

	public $helpers = array(
		'Form' => array('className' => 'BootstrapExtend.BootstrapExtForm'),
	);