Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Magento-类别在目录中无法正确显示_Php_Css_Magento - Fatal编程技术网

Php Magento-类别在目录中无法正确显示

Php Magento-类别在目录中无法正确显示,php,css,magento,Php,Css,Magento,我正在使用Magento 1.81和Codewix类别手风琴菜单扩展 守则: 类Codewix_Leftmenu_Block_导航扩展了Mage_目录_Block_导航 { } 输出如下 我只想输出 没有CSS业务可见性/显示 谢谢 我认为您应该编辑.phtml文件,该文件显示手风琴,其中包含 echo($this->get_Categories($someArrayofAllTopLevelCategories)); 换成 $myParticularChildCategories =

我正在使用Magento 1.81和Codewix类别手风琴菜单扩展

守则: 类Codewix_Leftmenu_Block_导航扩展了Mage_目录_Block_导航 {

}

输出如下

我只想输出

没有CSS业务可见性/显示


谢谢

我认为您应该编辑.phtml文件,该文件显示手风琴,其中包含

echo($this->get_Categories($someArrayofAllTopLevelCategories));
换成

$myParticularChildCategories = Mage::getModel('catalog/category')->getCategories([put here the integer ID of the Rochii category]);
echo($this->getCategories($myParticularChildCategories));

使使用此ul>li>ul和ul>li>ul>li的css能够添加您的url。
$myParticularChildCategories = Mage::getModel('catalog/category')->getCategories([put here the integer ID of the Rochii category]);
echo($this->getCategories($myParticularChildCategories));