2009-01-08から1日間の記事一覧
アクション内で、setTemplate()を使います public function executeIndex() { $this->setTemplate('select'); modules └モジュール名 └templates - indexSuccess.php ←コチラではなく - selectSuccess.php ←コチラを表示 また、templates直下にフォルダを作…
1.タイトル変更 $this->getResponse()->setTitle('タイトル'); [実行時の表示] <meta name="title" content="タイトル" /> <title>タイトル</title>2.メタ情報変更 $this->getResponse()->addMeta('keywords', 'キー1,キー2'); $this->getResponse()->addMeta('description', 'ああああ,いいい'); [実行時の表示] <meta name="keywords" content="キー1,キー2" /></meta></meta>…