欢迎光临
我们一直在努力

织梦CMS建站二级栏目title中/斜杠替换的代码

交换顶级栏目和二级栏目顺寻:
打开/include/typelink.class.php文件
$this->valuePositionName = $tinfos['typename'].$this->SplitSymbol.$this->valuePositionName;

 

改为:

$this->valuePositionName = $this->valuePositionName.$this->SplitSymbol.$tinfos['typename'];

 

将”/”修改为”_”:
打开/include/arc.listview.class.php
找到
$this->Fields['title'] = ereg_replace("[<>]","/",$this->TypeLink->GetPositionLink(false));

 

改为:

$this->Fields['title'] = ereg_replace("[<>]","_",$this->TypeLink->GetPositionLink(false));

 

赞(0) 打赏
未经允许不得转载:新起点博客 » 织梦CMS建站二级栏目title中/斜杠替换的代码

评论 抢沙发

评论前必须登录!