当前位置: 首页 » PHP » DedeCms » DedeCms织梦教程

DedeCms织梦教程

{dede:global.cfg_cmsurl/} =>返回系统所在绝对路径

{dede:myad name=’innerTopBanner1′/} =>广告代码

 

循环导航菜单

{dede:channel type=’top’ row=’10′ currentstyle=”<li class=’hover’><a href=’~typelink~’ ~rel~><span>~typename~</span></a></li>”}
<li><a href=’[field:typeurl/]‘ [field:rel/]><span>[field:typename/]</span></a></li>
{/dede:channel}

<li>
 <a rel=”dropmenu1 href=”/dede/a/webbase/>
<span>网页基础</span>
</a>
</li>
热门标签
{dede:tag row=’10′ getall=’1′ sort=’month’}
<li><a href=’[field:link/]‘>[field:tag /]</a></li>
{/dede:tag}
包含头部文件
{dede:include filename=”head.htm”/}
头条
{dede:arclist flag=’h’ limit=’0,1′ infolen=’230′}
<h2><a href=”[field:arcurl/]“>[field:title/]</a></h2>
<p>[field:info/]…<a href=”[field:arcurl/]“>[查看全文]</a></p>
{/dede:arclist}
最新文章
{dede:arclist row=14 titlelen=32 noflag=’h’}
<li><a href=”[field:arcurl/]“>[field:title/]</a></li>
{/dede:arclist}
特别推荐
{dede:arclist flag=’a’ row=’6′ orderby=’pubdate’}
<li><span>[field:pubdate function="MyDate('m-d',@me)"/]</span><a href=”[field:arcurl/]“>[field:title/]</a></li>
{/dede:arclist}
图片资讯
{dede:arclist row=10 orderby=pubdate type=’image.’ imgwidth=’143′ imgheight=’106′}
<li><a href=”[field:arcurl/]“>[field:image/]<span class=”title”>[field:title/]</span></a></li>
{/dede:arclist}
推荐内容
{dede:arclist flag=’c’ titlelen=42 row=’16′ tagid=’dedecms’ pagesize=’8′}
<li class=’dotline’><a href=”[field:arcurl/]“>[field:title/]</a></li>
{/dede:arclist}
本月热点
{dede:arclist sort=’hot’ subday=’30′ titlelen=42 row=6}
<li class=’dotline’><a href=”[field:arcurl/]“>[field:title/]</a></li>
{/dede:arclist}
友情链接
{dede:flinktype type=”dedecms”}
<a href=”#” _for=”flink_[field:id/]“>[field:typename/]</a>
{/dede:flinktype}
</span>
<span class=”more”> <a href=”plus/flink.php”>所有链接</a> | <a href=”plus/flink_add.php”>申请加入</a> </span> </dt>
{dede:flinktype type=”dedecms”}
<dd id=”flink_[field:id/]“>
<ul class=”f5″>
{dede:flink/}
</ul>
</dd>
{/dede:flinktype}

请尊重我们的辛苦付出,未经允许,请不要转载 本站 的文章,鄙视各种无耻的采集行为!
Tagged on: ,