The Modification method of "current position" in Weaving Dreams
This article mainly introduces the modification method of dream weaving "current position". The article is very detailed and has certain reference value. Interested friends must finish reading it!
How to modify the "current position" of dream weaving?
Modification method of Dream Weaving DEDECMS "current position" {dede:field.position}
Modify the current position {dede:field.position} in dedecms, as long as the home page > first-level column > second-level column.
Recommended study: dedecms tutorial
Find include/typelink.class.php, find this function in this file.
Function GetPositionLink ($islink=true)
This is where dedecms determines whether to read the link. If you change true to false, this function will not be executed:
Function GetOneTypeLink ($typeinfos) {$typepage = $this- > GetOneTypeUrl ($typeinfos); $typelink = ". $typeinfos ['typename']."; return $typelink;}
He returns $typelink, and $typelink has a link, set the
$typelink = ". $typeinfos ['typename']."
Modify to
$typelink = ". $typeinfos ['typename']."
The link is removed and can be written in the format you want. It's convenient.
In addition, many friends want to modify the ">" symbol in the home page > first-level column > second-level column, such as not wanting it, or replacing it with "> >", which is actually very simple and can be set in the background. Enter the interval symbol of the column location of the system-system basic parameters-- core settings-- you can enter your favorite symbol, * * #% @ # ¥anything.
The above is all the contents of the modification method of Weaving Dream "current position". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!