こんばんは
Lightbox JSを
http://www.1km.info/modx_site/plugins_snippets/lightbox_js.html
を参考にインストールしました。
そして 試しにHOMEの編集画面で [[lightboxImage]] と適当なところに書き
テンプレート変数のところで画像だけをいれて保存しました。
そして確認にTOPページのビューを見たら
Fatal error: Call to undefined function: getparentids() in /home/***/public_html/assets/snippets/wayfinder/wayfinder.inc.php on line 42
とエラーが出てしまいました。
やってみた事は、
1) HOMEの編集ページでテンプレート変数のところを空にして
[[lightboxImage]] の記述を削除しました。
結果は、上記と同じエラーが出たままです。
2) もう一度 Lightbox JSのDLからやり直してみました。
結果は、上記と同じエラーが出ました。
//Run all of the wayfinder methods
function run() {
global $modx;
//setup here checking array
$this->parentTree = $modx->getParentIds($modx->documentIdentifier);
$this->parentTree[] = $modx->documentIdentifier;
//Get version info
$this->modxVersion = $modx->getVersionData();
if ($this->debug) {
$this->debugOutput .= '<p>Starting Menu from Docid: ' . $this->id . '<br/>';
$this->debugOutput .= 'Docids for \'Here\' class checking: ' . implode(', ',$this->parentTree) . '</p>';
$this->debugOutput .= '<h3>Chunk Checks</h3>';
}
上記の5行目がエラー表示の42行目ですが
私には、わからなくて・・・
インストールしたファイルを全部削除して元の状態にするとちゃんとトップページが表示されます。
環境は、
Apache 1.3.33
MySQL 4.0.24-standard
php 4.3.10
です。
おわかりの方がおられましたら アドバイス頂けたらうれしいです。
どうぞ よろしくお願い致します。