■
BootCakeのダウンロード
- 右下のDownload Zipでダウンロード
https://github.com/slywalker/cakephp-plugin-boost_cake
- /app/PluginにBoostCakeにリネームしてコピー
- bootstrap.phpに追記
CakePlugin::load('BoostCake');
- /app/View/Layouts/default.phpの変更
<head> <?php echo $this->Html->charset(); ?> <title> <?php echo $cakeDescription ?>: <?php echo $title_for_layout; ?> </title> <?php echo $this->Html->meta('icon'); // jQuery CDN echo $this->Html->script('//code.jquery.com/jquery-1.10.2.min.js'); // Twitter Bootstrap 3.0 CDN echo $this->Html->css('//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css'); echo $this->Html->script('//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js'); echo $this->fetch('meta'); echo $this->fetch('css'); echo $this->fetch('script'); ?> </head>