DEDECMS list label go slash go to both spaces

Source: Internet
Author: User

First: The 53rd line of the include/arc.listview.class.php file:

$this->fields[' title ' = Ereg_replace ("[<>]", "/", $this->typelink->getpositionlink (false));

In/Replace with _ This sample successfully removed "/" in the title for "_"

If you still want to implement level three column _ Two level column _ A level column _ website name

Then: Will include/typelink.class.php

164 rows

$this->valuepositionname = $tinfos [' TypeName ']. $this->splitsymbol. $this->valuepositionname; modified to
$this->valuepositionname = $this->valuepositionname. $this->splitsymbol. $tinfos [' TypeName '];

In this way, it is almost possible to change the "/" to "_" but you will find that the title "-" at both ends of the generated space, what to do? My way is to write it directly to death, what do you mean. Change the top code directly to:

$this->valuepositionname = $this->valuepositionname. ' _ '. $tinfos [' TypeName '];

This will be OK, and the top of the arc.listview.class.php file you can use to change, of course, there are certainly other places still have problems, such as dynamic browsing. Of course I test the direct write dead, generate static is no problem! De

DEDECMS list label go slash go to both spaces

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.