1:找到include/typelink.class.php第176行:
$this->valuePositionName =$tinfos['typename'].$this->SplitSymbol.$this->valuePositionName;
修改为:
$this->valuePositionName =$this->valuePositionName.$this->SplitSymbol.$tinfos['typename'];
2:找到include/arc.archives.class.php第84行:
$this->Fields['title'] = preg_replace("/[<>]/", " /", $this->TypeLink->GetPositionLink(false));
修改为:
$this->Fields['title'] =preg_replace("/[<>]/", "_",$this->TypeLink->GetPositionLink(false));
3:生成的栏目的 标题有个空格例如:栏目2 _ 栏目_网站名称
模板标签list_news.htm
标题:
{dede:field.title} _{dede:global.cfg_webname/}
修改为:
{dede:field.title function='ereg_replace(" _","_",@me)'/}_{dede:global.cfg_webname/}
函数ereg_replace("字段A","字段B",@me) 将字段A替换成字段B。
$this->valuePositionName =$tinfos['typename'].$this->SplitSymbol.$this->valuePositionName;
修改为:
$this->valuePositionName =$this->valuePositionName.$this->SplitSymbol.$tinfos['typename'];
2:找到include/arc.archives.class.php第84行:
$this->Fields['title'] = preg_replace("/[<>]/", " /", $this->TypeLink->GetPositionLink(false));
修改为:
$this->Fields['title'] =preg_replace("/[<>]/", "_",$this->TypeLink->GetPositionLink(false));
3:生成的栏目的 标题有个空格例如:栏目2 _ 栏目_网站名称
模板标签list_news.htm
标题:
{dede:field.title} _{dede:global.cfg_webname/}
修改为:
{dede:field.title function='ereg_replace(" _","_",@me)'/}_{dede:global.cfg_webname/}
函数ereg_replace("字段A","字段B",@me)