/Cakephp-Bootstrappifier

Instant Twitter Bootstrap Style for CakePHP

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

CakePHP Bootstrappifier

Bootstrappifier for CakePHP is a Javascript library to use Twitter Bootstrap library with CakePHP without need of FormHelper hacks.

Requirements

The master branch has the following requirements:

  • CakePHP 2.1.0 or greater.
  • jQuery
  • Twitter Bootstrap

Download

Installation

  • You have to include jQuery library and bootstrap.css (or bootstrap.less and less.js as your preference) in your layout.
  • Clone repository to your plugin directory at unix terminal:
    • as Submodule:
	$ git submodule add https://github.com/mtkocak/Cakephp-Bootstrappifier.git /Your/Path/To/app/Plugins/CakeBootstrappifier
* ...or Clone:
	$ git clone https://github.com/mtkocak/Cakephp-Bootstrappifier.git /Your/Path/To/app/Plugins/CakeBootstrappifier'
  • Example layout configuration:
<?php
	echo $this->Html->script(array(
		'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
		'/CakeBootstrappifier/js/cakebootstrap'
	));
	echo $this->Html->css(array('bootstrap'));
?>

Contact