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

藏色散人
Release: 2019-12-21 10:04:46
Original
1833 people have browsed it

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}
Copy after login

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;
Copy after login

Modify as:

The code is as follows:

return $this->valuePosition;
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template