LoginSignup
0
1

More than 5 years have passed since last update.

content()関数で表示される基本内容の設定方法

Last updated at Posted at 2017-11-20

$this->BcBaser->content();で表示される内容は基本的にlib/Baser/View/Pages/templates/default.phpの内容で表示されています。

自分なりにしたいときは、
lib/Baser/View/Pages/templates/default.phpをコピーしてapp/View/Pages/templates/default.phpを新しく作って編集します。

例:日付だけ表示したくない場合、コピーした内容の中で

app/View/Pages/templates/default.php
$this->BcBaser->updateInfo();

だけを消すと作成日と変更日は表示されなくなります。

※ 参考:baserCMS4で変更された固定ページの構成

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1