最初はなんのことだか見当もつかなかったのですが、
引用:
私も、同じ現象が発生しました。
どうやら、モジュールのテンプレートファイル名に「index」という文字が使われていると、javascript history go(-1)が吐き出されるようです。
といっても、bulletinにもpico「index」は使われているので、TRUST_PATHは大丈夫なのですね。
これでピンと来ました。
PMが表示されない件と同じ根っこのバグですね。
(もっともhd_defaultではPMは表示されているでしょうが)
xoops_trust_path/libs/smartyplugins/resource.db.php 90行目から 3rd の部分
// 3rd, check templates under themes/(theme)/templates/(trust based template)
@list( $dirname , $base_tpl_name ) = explode( '_' , $tpl_name , 2 ) ;
$mytrustdirname = '' ;
@include XOOPS_ROOT_PATH.'/modules/'.$dirname.'/mytrustdirname.php' ;
if( $mytrustdirname && $base_tpl_name ) {
$filepath = XOOPS_THEME_PATH . '/' . $theme . '/templates/' . $mytrustdirname . '/' . $base_tpl_name ;
if ( file_exists( $filepath ) ) {
return $cache[$tpl_name] = $filepath ;
}
}
と差し替えてください。
とりあえずコミットはしましたので、今朝6時以降に、最新Nightlyを落としてからxoops_trust_path/libs/smartyplugins/resource.db.phpだけ上書きしてもらうのも良い手でしょう。
http://hodajuku.sourceforge.net/hd_nightly.zipなお、書き換え・上書きした後には、templates_c の中身をクリアしてください。
mimoriさん、バグレポートありがとうございました。
# 結構影響が大きそうなので、1.0.1b としてパッケージし直すかどうか検討します。