zencart,分类,所有,显示
改的文件:includes/classes/category_tree.php,最简单的修改
if (!isset($first_element)) {
$first_element = $categories->fields['categories_id'];
}
$kcyarrar[] = $categories->fields['categories_id']; //kcy
$categories->MoveNext();
}
foreach($kcyarrar as $cPath){ //kcy
//if (zen_not_null($cPath)) { //kcy
$cPath_array = array(0=>$cPath); //kcy
kcy标记的地方就是我改的地方