Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall
Dedecms as a very popular CMS website system, by the majority of webmaster favorite, many people use Dede station. When you build a station with Dede, some features need to be changed or invoked according to your preferences. In Dede's official documentation, there is no specific description of how to cycle through the functions of the first and two columns.
Today's shadow to share with you, you webmaster friends need, in the Dede Web site to achieve a circular call to the first level column and two columns to achieve the goal of Web site navigation optimization.
Here's the lecture:
On the first page of the circular Call level column and level Two column, how to achieve?
In many templates, we'll see code similar to the following. This is a code fragment that iterates through all the subcategories under a category.
--------------------------------
{dede:channelartlist typeid= ' 3 ' row= ' 4 '}
< fervent > < a href= "{Dede:field name= ' typeurl '/}" > {Dede:field name= ' typename '/} </a >
< a rel= "external nofollow" href= "[Field:arcurl/]" > [Field:title/]
{/dede:arclist}
{/dede:channelartlist}
--------------------------------
From this we can see that this and the cyclic call Level column and level Two column is somewhat similar, but there are some differences in functionality. We can make two changes on the basis of this, in order to realize the purpose of circular call level column and level two column.
Here is the modified implementation method:
--------------------------------
{Dede:channelartlist}
< DL class= "ILISTDH" >
< DT class= "ITOPDH" > < a href= "{Dede:field name= ' typeurl '/}" > {Dede:field name= ' typename '/} </a >
< DD class= "ISONDH" >
{Dede:channel type= ' Sun ' row= ' 3 '}//here row=3 is only to call 3 sub columns
< a rel= "external nofollow" href= "[Field:typeurl/]" > [field:typename/]</A >
{/dede:channel}
</DD >
< DL >
{/dede:channelartlist}
--------------------------------
The above code is the shadow of their own web site calls code, we can according to their actual situation to modify, and then through the CSS to beautify, you can achieve.
Specific effects can be referred to the http://www.studyonjob.com/home to the left column navigation is the effect of this method.