首页 > CMS > 帝国Empire > 正文

如何使用帝国cms的标签做网站地图

2024-07-09 22:54:40
字体:
来源:转载
供稿:网友
使用帝国cms 自带的 listshowclass 标签 可以完成 网站地图的功能,具体样式可以自己用CSS美化,再用自定义页面做调用就行了:



例子:[listshowclass]'0',13,0,0[/listshowclass]

页面模版内容:
<table width="650" align="center" border="0" cellpadding="3" cellspacing="1" bgcolor="cc0001">
  <tr>
    <td class="maptitle"><b><a href="[!--bclassurl--]">[!--bclassname--]</a></b></td>
  </tr>
  <tr>
    <td bgcolor="#ffffff">
[!--empirenews.listtemp--]
<!--list.var1-->
[!--empirenews.listtemp--]
    </td>
  </tr>
</table>


列表模版内容:
<a href="[!--classurl--]">[!--classname--]</a> &nbsp;&nbsp;&nbsp;
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表