Help us understand the problem. What is going on with this article?

CakePHP BoostCake の導入手順

More than 5 years have passed since last update.

手順.1


リポジトリからソースをDL
https://github.com/slywalker/cakephp-plugin-boost_cake

手順.2


解凍後、BoostCake にリネームして /plugins/ へコピー

手順.3


/app/Config/bootstrap.php に、プラグインのロードの記述を追加

CakePlugin::load('BoostCake');

手順.4


/app/Controller/AppController.php 内に、ヘルパーを追加

class AppController extends Controller {
    public $helpers = array(
        'Session',
        'Html' => array('className' => 'BoostCake.BoostCakeHtml'),
        'Form' => array('className' => 'BoostCake.BoostCakeForm'),
        'Paginator' => array('className' => 'BoostCake.BoostCakePaginator'),
    );
}

Auth コンポーネントを利用する場合は、公式ドキュメントを参照。
http://slywalker.github.io/cakephp-plugin-boost_cake/

手順.5


/app/View/Layouts/default.php の head 要素を書き換え

<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>

Bootstrap の CDN は、下記参照。
http://www.bootstrapcdn.com

手順.6


フォーム、ページネーション、アラートの記述方法は、公式ドキュメントを参照。
http://slywalker.github.io/cakephp-plugin-boost_cake/bootstrap3.html

その他は、従来どおり必要に応じて要素へ class を付加。

bit-part
Craft CMS, MTAppjQuery を中心にビジネスを強力にサポートするツールとしてのwebサイトを提供します
https://bit-part.net/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした