Basic syntax of cycle column navigation tags: [listshowclass] parent column ID, label template ID, whether to display the number of column information, and the number of displayed columns [/listshowclass]
Parameter description:
For example, the calling label is as follows: [listshowclass]'0',14,0,0[/listshowclass]
Instructions: To call all first-level column navigation, use the template with label template ID=14.
The label template is made as follows:
// 页面模板内容 <table width="120" align="center" border="0" cellpadding="3" cellspacing="1" bgcolor="ffcc00"> <tr> <td><b><a href="[!--bclassurl--]">[!--bclassname--]</a></b></td> </tr> [!--empirenews.listtemp--] <!--list.var1--> [!--empirenews.listtemp--] </table> // 列表内容模板(list.var) <tr> <td bgcolor="#FFFFFF"><a href="[!--classurl--]">[!--classname--]</a></td> </tr>
Use loop column navigation tags
// 页面模板内容 <table width="650" align="center" border="0" cellpadding="3" cellspacing="1" bgcolor="ffcc00"> <tr> <td><b><a href="[!--bclassurl--]">[!--bclassname--]</a> <font color="#666666">(信息数:[!--bnum--])</font></b></td> </tr> <tr> <td bgcolor="#ffffff"> [!--empirenews.listtemp--] <!--list.var1--> [!--empirenews.listtemp--] </td> </tr> </table> // 列表内容模板(list.var) <a href="[!--classurl--]">[!--classname--]</a> <font color="#666666">(信息数:[!--num--])</font>
One calls a column at one level, and the other calls a column at two levels.
showclasstemp calling effect:
栏目1 栏目2 栏目3
Listshowclass calling effect:
父栏目1 子栏目1 子栏目2 父栏目2 子栏目3 子栏目4 父栏目3 子栏目5 子栏目6