dedecms当前栏目ID调用

dedecms系统调用当前栏目ID

{dede:type}[field:ID /]{/dede:type}

应用实例:
栏目页调用RSS地址
代码如下:

<a href="{dede:global.cfg_basehost/}/data/rss/{dede:type}[field:ID /]{/dede:type}.xml">RSS</a>

Related Posts

    No related posts found

Related Search

This entry was posted in php and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>