Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 38 lines (31 sloc) 1.12 KB

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