include\taglib\channel.lib.php
In
Else if ($type= = ' self ') { if($reidreturn '; $sql = "Select Id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl, SitePath from ' #@__arctype ' WHERE reid= '$reid$line '; }
Add the following
Else if ($type= = ' Reid ') { if($reidreturn '; $sql = "Select Id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl, SitePath from ' #@__arctype ' WHERE reid= '$topid$line '; }
Put
if ($row[' id ']==$typeid | | ($topid= =$row$type$currentstyle! = ")
Switch
if ($row[' id ']==$typeid | | ($topid= =$row$type= = ' top ') | | ($row[' id ']==$reid$type$currentstyle! = ')
Calling tags in templates:
{dede:channel type= ' Reid ' currentstyle= ' <a href= ' ~typelink~ ' class= ' on ' >~typename~</a> '} <a href= "[field:typeurl/]" >[field:typename/]</a>{/dede:channel}
Dedecms call two-level column list of the category