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
MXtrio
3 comments
Olivier says:
September 16, 2011 at 4:30 pm (UTC -6)
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
netors says:
September 16, 2011 at 4:35 pm (UTC -6)
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'); ?>
jbk says:
October 18, 2011 at 9:45 am (UTC -6)
Nice work! Now that CakePHP 2.0 is released, do you think you will be updating this to work with the new version?