Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to remove the last delimiter greater than sign in the dede page

Shulou Source: shulou.com Published: 2022-06-02 03:37:35 10月01日 Update

This article mainly introduces the dede column page breadcrumb navigation last separator is greater than how to remove, has a certain reference value, the need for friends can refer to the next. I hope you all have a lot to gain after reading this article. Let's take a look at it together.

Dede column page breadcrumb navigation last separator greater than how to remove the sign?

Dream Weaver DedeCms Remove the last separator of the column page breadcrumbs navigation ">"

breadcrumb navigation calls tag {dede:field name ='position ' /},

The breadcrumb navigation called in the column page will finally appear with the division symbol ">", such as: Home> DedeCms template>

There are two ways to change the final delimiter ">" and invoke the breadcrumb navigation tag with the following code:

The code is as follows:

{dede:field name ='position ' runphp ='yes'} $a=mb_strlen(@me); //Calculate the length of the string @me=cn_substr(@me,$a-1,-1); //Truncate characters {/dede:field}

Or modify the system file, edit and open the include/typelink.class.php file.

Find:

The code is as follows:

return $this->valuePosition.$ this->SplitSymbol;

Amend to read:

The code is as follows:

return $this->valuePosition; Thank you for reading this article carefully. I hope that Xiaobian can share the dede column page breadcrumb navigation. The last separator is greater than the sign. How to remove the content is helpful to everyone. At the same time, I hope that everyone will support you a lot. Pay attention to the industry information channel. If you encounter problems, find them. Detailed solutions are waiting for you to learn!

Tags: Bread breadcrumbs navigation columns delimiters code articles characters files methods tags home pages values content simultaneously strings friends templates symbols systems Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Linux Apple MySQL macOS