XOOPS モジュール pico のアップグレード
2009年03月16日
まず、altsys を適切なバージョンにアップグレードしておく。
続いて、以下の作業を行う。
html/modules/picoをXOOPS_ROOT_PATH/modules/にコピーする。html/class/smarty/plugins/以下のファイル群をXOOPS_ROOT_PATH/class/smarty/plugins/にコピーする。xoop_trust_path/modules/picoをXOOPS_TRUST_PATH/modules/にコピーする。xoop_trust_path/PEARをXOOPS_TRUST_PATH/にコピーする。- "管理メニュー" の "モジュールの管理" から pico モジュールのバージョンをアップさせる。
HTML の <head> 部分が作られず、以下のようなエラーが出る場合は、
Fatal error: Call to a member function get_template_vars() on a non-object in /Users/hoge/xoops_trust_path/modules/pico/class/PicoD3commentContent.class.php on line 82
編集しているテンプレートの、contents_main_viewcontent.html ファイルの d3forum_comment を d3comment へと修正しておく。
モジュールのダウンロードは PEAK XOOPS – Downloads から行う。