Online a lot of ways to add English column title, we have to Baidu a bit better, but after the change in the Chanel tag is not called, then the solution is as follows:
Want to use in channel, for example:
{dede:channel type= ' son ' row= ' typeid= ' 1 '} <li><a href= ' [field:typeurl/] ' >[field:typename/][field:typenameng/]</a></li> {/ Dede:channel}
You also need to modify a file to find the include\taglib\channel.lib.php
First place:if($type= = ' Top ') { $sql= "SELECT Id,typename,typenameng,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath from ' #分隔符 @__arctype ' WHERE reid=0 and ishidden<>1 ORDER by Sortrank ASC limit 0,$line"; } Else if($type= = ' son ') { if($typeid==0)return‘‘; $sql= "SELECT Id,typename,typenameng,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath from ' #分隔符 @__arctype ' WHERE reid= '$typeid' and ishidden<>1 ORDER by Sortrank ASC limit 0,$line"; } Else if($type= = ' self ') { if($reid==0)return‘‘; $sql= "SELECT Id,typename,typenameng,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath from ' #分隔符 @__arctype ' WHERE reid= '$reid' and ishidden<>1 ORDER by Sortrank ASC limit 0,$line"; } Second place://If you use sub-column mode, display the sibling column when there are no sub- columns if($type= = ' son ' &&$reid!=0 &&$totalRow==0) { $sql= "SELECT Id,typename,typenameng,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath from ' #分隔符 @__arctype ' WHERE reid= '$reid' and ishidden<>1 ORDER by Sortrank ASC limit 0,$line"; $dsql->setquery ($sql); $dsql-Execute (); }
Add an English column title to the Weave dream call in the Chanel tag