search
HomeCMS TutorialDEDECMSHow to modify the 'current location' of DreamWeaver

How to modify the 'current location' of DreamWeaver

How to modify the "current location" of Dreamweaver?

How to modify the "current position" {dede:field.position} in DEDECMS

Modify the current position {dede:field.position} in dedecms , that is, as long as the home page > first-level column > second-level column.

Recommended learning: dedecms tutorial

Find include/typelink.class.php and find this function in this file

function GetPositionLink($islink=true)

dedecms is here Determine 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 = "<a href=&#39;".$typepage."&#39;>".$typeinfos[&#39;typename&#39;]."</a>"; 
  return $typelink; 
 }

What it returns is $typelink, and $typelink has a link. Change

$typelink = "<a href=&#39;".$typepage."&#39;>".$typeinfos[&#39;typename&#39;]."</a>";

Change it to

$typelink = "".$typeinfos[&#39;typename&#39;]."";

and the link will be removed, and you can write it in the format you want. very convenient.

In addition, many friends want to modify the ">" symbol in the homepage>First-level column>Second-level column, for example, do not want it, or replace it with ">>" or something like that , in fact, it is very simple. You can set it in the background. Enter the system---system basic parameters--core settings--interval symbols for column positions. You can enter the symbols you like, **#%@#¥ anything is fine.

The above is the detailed content of How to modify the 'current location' of DreamWeaver. For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.