»

Sep
02

CakePHP shell templates for implementing Bootstrap from Twitter in Scaffold views

I just released some code to the world via Github, it is a simple set of templates that I’ve created for implementing Bootstrap from Twitter toolkit using cake bake to create fast scaffold views.

Check it out at: https://github.com/netors/cakephp-shell-template-twitter-bootstrap

3 comments

  1. Olivier says:

    Hi

    I’m a beginner in cakephp…
    How do you add the bootstrap css in webroot?
    I’ve copy the less in css and I copy the

    in the layout ?

    Is it the good way ?

    thanks

    Olivier

    1. netors says:

      Oliver,

      You need to copy the bootstrap-1.2.0.min.css file to your /webroot/css directory.

      Then at your layout, simply add:

      < ?php echo $this->Html->css('bootstrap-1.2.0.min.css'); ?>

  2. jbk says:

    Nice work! Now that CakePHP 2.0 is released, do you think you will be updating this to work with the new version?

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>