ブログ移転のお知らせ

独自ドメインのVPSにブログ移転中です、ここもデータの保証無しってことで置きっぱなしにしてもらえる事になってます。
 
i移転先予定のブログURLはこちら(作成中):http://www.sawanoboly.net/wp/
旧ブログはこちらでも保管しときます:http://www.sawanoboly.net/wp_old/
前の記事:«
次の記事: »

XOOPS Cube Legacy をサブディレクトリに入れる の続きで。
 

カテゴリを階層化する目的で、picoというモジュールを導入してみる。
 
 

必須モジュールAltsysのインストール

picoを使うには準備がいって、
http://xoops.peak.ne.jp/md/mydownloads/
にある、Altsysというモジュールが必要だそうな。いくつかの管理作業(アクセス権関係など)に手が入る模様。
 

導入手順を見る。

●インストール
- mainfile.php にて XOOPS_TRUST_PATH を設定してください
- アーカイブのxoops_trus_path/内を、XOOPS_TRUST_PATHに展開してください
- アーカイブのhtml/内を、XOOPS_ROOT_PATHに展開してください
- モジュールとしてインストールしてください
- 管理画面テーマ機能を利用する場合は、下の手順に従ってください

なるほど。

ディレクトリを作って、
mkdir /usr/local/xcl/xoops_trust_path
/{xoopsのパス}/html/mainfile.phpを編集する。
define('XOOPS_TRUST_PATH', '/usr/local/xcl/xoops_trust_path');

というわけか。
 

Altsysの書庫を展開したら "xoops_trust_path", "html" ディレクトリがあったのでxoops のとこにコピー。
# cp -R xoops_trust_path/* /usr/local/xcl/xoops_trust_path/
# cp -R html/* /usr/local/xcl/html/

 

その後、
互換モジュール ≫≫ モジュールの管理 ≫≫ モジュールのインストール
にALTSYSが現れたのでインストール。
 

モジュールインストール ログ
 
* ブロック 管理メニュー をインストールしました
* コンフィグ adminmenu_hack_ft を追加しました
* コンフィグ adminmenu_insert_mymenu を追加しました
* コンフィグ admin_in_theme を追加しました
* コンフィグ enable_force_clone を追加しました
* コンフィグ images_dir を追加しました
* ALTSYS モジュールのインストールに成功しました
* SQL file found at /usr/local/xcl_2_2_0_20090628_2/xoops_trust_path/libs/altsys/sql/mysql.sql. Creating tables…
* Table cfccf8_altsys_language_constants created.
* Template altsys_inc_mymenu.html added to the database. (ID: 88)
* Template altsys_main_myblocksadmin_list.html added to the database. (ID: 89)
* Template altsys_main_myblocksadmin_edit.html added to the database. (ID: 90)
* Template altsys_main_mylangadmin.html added to the database. (ID: 91)
* Template altsys_block_admin_menu.html added to the database. (ID: 92)
* Template altsys_inc_mymenusub.html added to the database. (ID: 93)

AltsysはこれでOKだろう。実際どう変わったのか、いきなり導入したからわからんのだが。
 
 

pico のインストール

えーと、Altsysと全然変わらないです、モジュールを落としてくる先も変わらないし。。
http://xoops.peak.ne.jp/md/mydownloads/
 

結果だけ。

モジュールインストール ログ
 
* ブロック メニュー をインストールしました
* ブロック コンテンツ内容 をインストールしました
* ブロック コンテンツ一覧 をインストールしました
* ブロック サブカテゴリー一覧 をインストールしました
* ブロック 自身の承認待ち をインストールしました
* ブロック タグ一覧 をインストールしました
* コンフィグ use_wraps_mode を追加しました
* コンフィグ use_rewrite を追加しました
* コンフィグ wraps_auto_register を追加しました
* コンフィグ auto_register_class を追加しました
* コンフィグ top_message を追加しました
* コンフィグ show_menuinmoduletop を追加しました
* コンフィグ show_listasindex を追加しました
* コンフィグ show_breadcrumbs を追加しました
* コンフィグ show_pagenavi を追加しました
* コンフィグ show_printicon を追加しました
* コンフィグ show_tellafriend を追加しました
* コンフィグ use_taf_module を追加しました
* コンフィグ search_by_uid を追加しました
* コンフィグ filters を追加しました
* コンフィグ filters_forced を追加しました
* コンフィグ filters_prohibited を追加しました
* コンフィグ submenu_showcontents を追加しました
* コンフィグ sitemap_showcontents を追加しました
* コンフィグ use_vote を追加しました
* コンフィグ guest_vote_interval を追加しました
* コンフィグ htmlheader を追加しました
* コンフィグ allow_each_htmlheader を追加しました
* コンフィグ css_uri を追加しました
* コンフィグ images_dir を追加しました
* コンフィグ body_editor を追加しました
* コンフィグ htmlpurify_except を追加しました
* コンフィグ histories_per_content を追加しました
* コンフィグ minlifetime_per_history を追加しました
* コンフィグ browser_cache を追加しました
* コンフィグ extra_fields_class を追加しました
* コンフィグ uri_mapper_class を追加しました
* コンフィグ extra_images_dir を追加しました
* コンフィグ extra_images_size を追加しました
* コンフィグ image_magick_path を追加しました
* コンフィグ comment_dirname を追加しました
* コンフィグ comment_forum_id を追加しました
* コンフィグ comment_order を追加しました
* コンフィグ comment_view を追加しました
* コンフィグ comment_posts_num を追加しました
* コンフィグ notification_enabled を追加しました
* コンフィグ notification_events を追加しました
* pico モジュールのインストールに成功しました
* SQL file found at /usr/local/xcl_2_2_0_20090628_2/xoops_trust_path/modules/pico/sql/mysql.sql. Creating tables…
* Table cfccf8_pico_category_permissions created.
* Data inserted to table cfccf8_pico_category_permissions.
* Data inserted to table cfccf8_pico_category_permissions.
* Data inserted to table cfccf8_pico_category_permissions.
* Table cfccf8_pico_categories created.
* Data inserted to table cfccf8_pico_categories.
* Table cfccf8_pico_contents created.
* Table cfccf8_pico_content_votes created.
* Table cfccf8_pico_content_histories created.
* Table cfccf8_pico_content_extras created.
* Table cfccf8_pico_tags created.
* Template pico_main_content_form.html added to the database. (ID: 94)
* Template pico_main_content_form.html compiled.
* Template pico_main_listcontents.html added to the database. (ID: 95)
* Template pico_main_listcontents.html compiled.
* Template pico_main_querycontents.html added to the database. (ID: 96)
* Template pico_main_querycontents.html compiled.
* Template pico_independent_singlecontent.html added to the database. (ID: 97)
* Template pico_independent_singlecontent.html compiled.
* Template pico_block_subcategories.html added to the database. (ID: 98)
* Template pico_block_subcategories.html compiled.
* Template pico_main_viewcontent.html added to the database. (ID: 99)
* Template pico_main_viewcontent.html compiled.
* Template pico_block_mywaitings.html added to the database. (ID: 100)
* Template pico_block_mywaitings.html compiled.
* Template pico_admin_tags.html added to the database. (ID: 101)
* Template pico_admin_tags.html compiled.
* Template pico_blockedit_subcategories.html added to the database. (ID: 102)
* Template pico_blockedit_subcategories.html compiled.
* Template pico_main_viewhistory.html added to the database. (ID: 103)
* Template pico_main_viewhistory.html compiled.
* Template pico_blockedit_list.html added to the database. (ID: 104)
* Template pico_blockedit_list.html compiled.
* Template pico_main_diffhistories.html added to the database. (ID: 105)
* Template pico_main_diffhistories.html compiled.
* Template pico_blockedit_mywaitings.html added to the database. (ID: 106)
* Template pico_blockedit_mywaitings.html compiled.
* Template pico_inc_breadcrumbs.html added to the database. (ID: 107)
* Template pico_inc_breadcrumbs.html compiled.
* Template pico_blockedit_menu.html added to the database. (ID: 108)
* Template pico_blockedit_menu.html compiled.
* Template pico_block_content.html added to the database. (ID: 109)
* Template pico_block_content.html compiled.
* Template pico_main_menu.html added to the database. (ID: 110)
* Template pico_main_menu.html compiled.
* Template pico_independent_rss20.html added to the database. (ID: 111)
* Template pico_independent_rss20.html compiled.
* Template pico_block_tags.html added to the database. (ID: 112)
* Template pico_block_tags.html compiled.
* Template pico_admin_extras.html added to the database. (ID: 113)
* Template pico_admin_extras.html compiled.
* Template pico_block_list.html added to the database. (ID: 114)
* Template pico_block_list.html compiled.
* Template pico_admin_extras_detail.html added to the database. (ID: 115)
* Template pico_admin_extras_detail.html compiled.
* Template pico_blockedit_tags.html added to the database. (ID: 116)
* Template pico_blockedit_tags.html compiled.
* Template pico_admin_import.html added to the database. (ID: 117)
* Template pico_admin_import.html compiled.
* Template pico_main.css added to the database. (ID: 118)
* Template pico_main.css compiled.
* Template pico_main_category_form.html added to the database. (ID: 119)
* Template pico_main_category_form.html compiled.
* Template pico_admin_contents.html added to the database. (ID: 120)
* Template pico_admin_contents.html compiled.
* Template pico_block_menu.html added to the database. (ID: 121)
* Template pico_block_menu.html compiled.
* Template pico_admin_category_access.html added to the database. (ID: 122)
* Template pico_admin_category_access.html compiled.
* Template pico_independent_print.html added to the database. (ID: 123)
* Template pico_independent_print.html compiled.
* Template pico_blockedit_content.html added to the database. (ID: 124)
* Template pico_blockedit_content.html compiled.

めっちゃ色々入ったなぁ、Template とか入ってるってことは、メニューの展開とかも込みで見た目に関与するところが多いからかな。
 
 

pico の設定とか

入れたはいいが、親カテゴリを複数持つ設定がよくわからん。
トップカテゴリ?は名前帰れるだけだし。。
 

マニュアルはこのへんか。
ModuleManuals/ pico

http://www.xugj.org/modules/xpwiki/?ModuleManuals%2Fpico

 

モジュールフロントエンドを複数置けとのこと。
任意の名前でコピーし、モジュールインストールをしていけばよいようだ、"html/modules" の下やね。
 

ディレクトリを複数作れば、こういったカテゴリ分けが可能、picoのディレクトリ名はそのままURLになるので、カテゴリにあった名前にしよう。

pico_a
├サブカテゴリA1
│├コンテンツA1-1
│└コンテンツA1-2
└サブカテゴリA2
├コンテンツA2-1
└コンテンツA2-2
 
pico_b
├サブカテゴリB1
│├コンテンツB1-1
│└コンテンツB1-2
└サブカテゴリB2
├コンテンツB1-1
└コンテンツB1-2

 
 

Cube Legacy 感想

管理のしやすさなどはさすがによさそう、でも表示が重たいね。
同じスペックのサーバで動いている本家2.0x より相当重い。
 

前の記事:«
次の記事: »

この投稿に関連した記事

  • 関連した記事はありません
.
add to hatena hatena.comment (0) add to del.icio.us (0) add to livedoor.clip (0) add to Yahoo!Bookmark (0) Total: 0

使ってる所とか

※注意

I
KOBE×
BUSINESS.

これは個人ブログです、内容についてアイクラフト(株)は責任を負いません。
にほんブログ村 IT技術ブログへSawanoblogのフィード
人気ブログランキングへ
この日記のはてなブックマーク数
はてなRSSに追加
Googleに追加
My Yahoo!に追加
livedoor Readerに追加
goo RSSリーダーに追加
フィードメーター - SawanoBlog.
MCP
MCTS
CCNA

ミニブログとか

あわせて読みたいブログパーツ
  • IIS7でクライアントポート(リクエスト元ポート)をログにとりたいが…(追記:apacheも)
    画像:IIS7ログフォーマット


    マウス嫌いシリーズ(2)_「ALTキーショートカット」@Windows
    画像:パフォーマンスオプション2


    Windows版のVirtualBoxに、Solaris10の10/09は入らんようだ
    画像:Solaris10 10/09 in VirtualBox


    Windows、VBScriptでYYYYMMDD
    画像:スクリプトの実行結果


    神戸ルミナリエがアイクラフト本社の目の前で開催中
    画像:ルミナリエ昼


    Sun VirtualBox 2.2.4 上に WindowsServer2008 をインストールして 「Guest Additions」。いわゆるバーチャルマシン追加機能
    画像:CDを入れたような感じになる
  • Amazon用