エントリー

freoのインフォメーションのページにサイドバーを表示させる

1) templates/internals/information/default.html の一番上の部分を

{include file='header.html'}

から

{include file='header.html'}
  <div id="content">

に、一番下の部分を

{include file='footer.html'}

から

  </div>
{include file='utility.html'}
{include file='footer.html'}

に変更(赤字の部分を追加)します。

2) これだけだとサイドバーは表示しますが、中身が表示されないので

  • libs/freo/plugins/config.entry_calender.php(カレンダー)
  • libs/freo/plugins/config.category_count.php(カテゴリー記事数)
  • libs/freo/plugins/config.entry_archive.php(過去ログ)
  • libs/freo/plugins/config.entry_recently.php(新着エントリー)
  • libs/freo/plugins/config.comment_recently.php(新着コメント)
  • libs/freo/plugins/config.trackback_recently.php(新着トラックバック)
  • libs/freo/plugins/config.entry_gallery.php(エントリーギャラリー)

などの//displayファイルの読み込み設定に、,informationを追加します。

例えば、libs/freo/plugins/config.entry_calender.php

//displayファイルの読み込み設定
define('FREO_PLUGIN_ENTRY_CALENDER_LOAD_DISPLAY', 
'default,entry,category,view');

の部分を、

//displayファイルの読み込み設定
define('FREO_PLUGIN_ENTRY_CALENDER_LOAD_DISPLAY', 
'default,entry,category,view,information');

に変更(赤字の部分を追加)します。

※プロフィールのページにサイドバーを表示させる場合は上記の方法で、
1)で templates/internals/information/default.htmltemplates/internals/profile/default.htmlに読み替え、
2)で追加するものを,information,profileに読み替えてください。

ページ移動

関連エントリー

コメント

  • コメントはまだありません。

コメント登録

  • コメントを入力してください。
  • 一旦登録したコメントは、あとで編集できませんのでご注意下さい。
登録フォーム

基本的には「全体に公開」されますが、内容によっては管理人の方で公開を制限する場合がありますので、その旨ご了承下さい。

ユーティリティ

2024年04月

- 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 - - - -

キーワード検索

キーワード検索フォーム

ユーザー

  • cccのアバター

新着画像

ブログパーツ

Twitter

Twilogを見る

Feed