GIJOEさん、こんにちは
前回一緒に報告できればよかったのですが・・。
sitemapモジュールの一般設定にて「サブカテゴリも表示する」が「はい」となっている場合、sitemapにpicoのサブカテゴリも表示されると思うのですが、サブカテゴリが、異なる親カテゴリにぶら下がって表示されます。
↓こんな感じ
■picoでの表示
category1
-category1のsubcategoryA
category2
category3
■sitemapでの表示
category1
category2
category3
-category1のsubcategoryA
環境:
SERVER : Apache
PHP : 4.3.11
register_globals = 1
MySQL : 4.0.24-standard-log
XOOPS : XOOPS 2.0.15 JP
Theme : default
sitemap : Ver1.3
お手すきのときにでも確認ください。
starckさん、こんにちは。
おお〜、渋いバグをみつけましたね
include/sitemap.plugin.php 14行目
$sql = "SELECT cat_id,cat_title,pid,cat_depth_in_tree FROM ".$db->prefix($mydirname."_categories")." WHERE ($whr_category) AND ($whr_pid) ORDER BY cat_order_in_tree" ;
上の、ORDER BY 以下の書き忘れです。
アーカイブの方へは次回更新時に一緒に反映させます。
GIJOEさん、こんにちは。
返信がだいぶ遅くなりましたが、該当ファイルの修正でsitemapが正しく表示されるようになりました。どうもありがとうございます。