织梦DedeCMS实现 三级栏目_二级栏目_一级栏目_网站名称 的效果代码
生活随笔
收集整理的這篇文章主要介紹了
织梦DedeCMS实现 三级栏目_二级栏目_一级栏目_网站名称 的效果代码
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1.將官方原來的排列方式反過來,找到include/typelink.class.php第164行?
修改為:?
$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));?
模板調用:
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>?
轉載于:https://www.cnblogs.com/cnteam/p/4773452.html
總結
以上是生活随笔為你收集整理的织梦DedeCMS实现 三级栏目_二级栏目_一级栏目_网站名称 的效果代码的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C# 之 Int16 Int32 Int
- 下一篇: UITableView,UICollec