Twitter Bootstrap style for CakePHP instantly

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

For download:

https://github.com/mtkocak/Cakephp-Bootstrappifier

For install:

0. You have to have Jquery Library

1. You have to have Twitter Bootstrap configured. (cake.generic.css removed from default.ctp, files downloaded and included to you webroot/css and web root/js folders )

2. Copy cakebootstrap.js in your webroot/js folder

3. Your View/Layouts/default.ctp file must include this in head tag:

echo $this->Html->css('bootstrap.min'); //You don't need to add again if you have this

echo $this->Html->script('libs/jquery-1.6.2.min.js');// You don't need this if you have Jquery

echo $this->Html->script('cakebootstrap.js');

- For any question mtkocak@gmail.com

Be Sociable, Share!

Twitter Bootstrap style for CakePHP instantly” üzerine 2 düşünce

  1. Geri izleme: Twitter Bootstrap style for CakePHP instantly | CakePHP Articles

  2. gestudio

    I am using bootstrap directly over cakephp2.0 and forms are ok directly from form helper. What are the advantages of your script so?

    Yanıtla

Bir Cevap Yazın

E-posta hesabınız yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Şu HTML etiketlerini ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>