Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
In the forum to see a netizen proposed a dedecms content in the location of a change in the problem, is roughly the position of the dedecms from the original, home "category One" category two, changed to the category two "category one" homepage style, the Tianya gives the following solution, for netizens to learn, exchange.
With regard to {Dede:field name= ' position '/} in the template tag, the markup feature is to display a list of columns with a Islink attribute labeled, and if true, the list returned by Pinkerton is connected or not. After code analysis, find the file/include/inc_typelink.php line 118th, mainly the Getpositionlink function is used to obtain information about the location of the function, we modify the following: The 139 lines of code modified as follows, will
$this->valueposition = $indexpage. $this->splitsymbol. $this->valueposition;
To:
$this->valueposition = $this->valueposition. $this->splitsymbol $indexpage;
Modify the 160 lines as follows:
if ($islink) $this->valueposition = $this->getonetypelink ($tinfos). $this-
>splitsymbol $this->valueposition;
Modified to:
if ($islink) $this->valueposition = $this->valueposition. $this->splitsymbol. $this->getonetypelink ($ Tinfos);
Modify 161 lines to:
else $this->valuepositionname = $tinfos [' TypeName ']. $this->splitsymbol. $this->valuepositionname;
Modified to:
else $this->valuepositionname = $this->valuepositionname. $this->splitsymbol. $tinfos
[' TypeName '];
To this end we modify the completion, in order to facilitate everyone, I will modify the completion of the file package to the love of learning to provide you download.
Reprinted annotated Source: www.ixker.com