|
织梦dedecms在内容页打开的时候一般都是顶级栏目、二级栏目,想要改成二级栏目到顶级栏目,可以修改typelink.class.php和arc.listview.class.php文件,首先修改的就是栏目顶级和二级栏目的调换,然后就是符号的转换。
1、交换顶级栏目和二级栏目顺序:
打开\include\typelink.class.php,搜索
$this->valuePositionName = $tinfos['typename',.$this->SplitSymbol.$this->valuePositionName;
修改为
$this->valuePositionName = $this->valuePositionName.$this->SplitSymbol.$tinfos['typename',;
2、将"/"修改为"_":
找到\include\arc.listview.class.php,搜索
$this->Fields['title', = ereg_replace("[,"," / ",$this->TypeLink->GetPositionLink(false));
修改为
$this->Fields['title', = ereg_replace("[,","_",$this->TypeLink->GetPositionLink(false)); |
|