<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dede栏目页面包屑导航最后的分隔符大于号去掉方法

时间:2020-12-15

很多网站在用到面包屑导航的时候,需要个性化的设计,那么我们今天就分享下如何去掉分隔符大于号,下面有个不错的示例大家可以参考下:

织梦DedeCms去掉栏目页面包屑导航最后的分隔符“>” 

面包屑导航调用标签{dede:field name='position' /}, 

在栏目页里调用的面包屑导航,最后会出现分割符号“>”,如:主页 > DedeCms 模板 > 

用下面这两种方法可以将最后的分割符“>”,用如下代码调用面包屑导航标签: 

{dede:field name='position' runphp='yes'} 
$a=mb_strlen(@me); //计算字符串的长度 
@me=cn_substr(@me,$a-1,-1); //截取字符 
{/dede:field} 

或者修改系统文件,编辑打开include/typelink.class.php 文件。 

查找: 
return $this->valuePosition.$this->SplitSymbol; 

修改为: 
return $this->valuePosition; 
    0
    首页
    案例
    关于
    联系