valuePosition;" and save it."/> valuePosition;" and save it.">
Home >CMS Tutorial >DEDECMS >How to remove the greater than sign at the end of the dede column page's breadcrumb navigation
How to remove the greater than sign at the end of the dede column page's breadcrumb navigation?
This article will introduce to you how DedeCms removes the greater than sign at the end of the column page breadcrumb navigation. Here is a good example for you to refer to
Recommended learning: Dreamweavercms
Weaver Dream DedeCms removes the last separator ">" from the column page breadcrumb navigation
Breadcrumb navigation call label { dede:field name='position' /},
When the breadcrumb navigation is called in the column page, the delimiter symbol ">" will appear at the end, such as: Homepage> DedeCms Template>
Use the following two methods to replace the final separator ">" and use the following code to call the breadcrumb navigation tag:
The code is as follows:
{dede:field name='position' runphp='yes'} $a=mb_strlen(@me); //计算字符串的长度 @me=cn_substr(@me,$a-1,-1); //截取字符 {/dede:field}
Or modify the system file and edit Open the include/typelink.class.php file.
Search:
The code is as follows:
return $this->valuePosition.$this->SplitSymbol;
Modify as:
The code is as follows:
return $this->valuePosition;
The above is the detailed content of How to remove the greater than sign at the end of the dede column page's breadcrumb navigation. For more information, please follow other related articles on the PHP Chinese website!