織夢標籤大全
你需要的標籤:<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field.keywords/}" />
<meta name="description" content="{dede:field.description function='html2text(@me)'/}" />
另附:
DEDE全站通用標籤:
根網址:
{dede:global.cfg_cmsurl/}/style/
標籤裡面的根網址:
[field:global.cfg_cmsurl/]
網站域名:
{dede:global.cfg_basehost/}
模板路徑:
{dede:global.cfg_templets_skin/}
標題:
<title>{dede:global.cfg_webname/} </title>
<meta name="description" content="{dede:global.cfg_description/}" />
<meta name="keywords" content="{dede:global.cfg_keywords/}" />
頻道頁標題、關鍵字:
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field name='keywords'/}" />
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
摘要:
[field:description function='cn_substr(@me,110)'/]
日期:
[field:pubdate function=MyDate('m-d',@me)/]
[field:pubdate function=MyDate('20y-m-d',@me)/]
點選:[field:click/]
呼叫其他模板檔案
{dede:include filename="head.htm"/}
當前位置:
{dede:field name='position'/}
seo標題
{dede:field.seotitle /}
文章ID:
[field:id/]
排序:
{dede:arclist row=5 orderby=pubdate titlelen=18}
[field:autoindex runphp='yes']@me=$GLOBALS['autoindex']-1;[/field:autoindex]
{/dede:arclist}
文章標題:
[field:title/]
文章連結地址:
[field:arcurl/]
簡略標題:
[field:shorttitle/]
文章列表:
{dede:arclist typeid='' row='1' titlelen='24' orderby='pubdate'}
<a href="[field:arcurl/]" title="[field:title/]" target="_blank">[field:title/]</a>
<li><a href="[field:arcurl/]">[field:title/]</a></li>
{/dede:arclist}
文章顯示:
<li><a href="[field:arcurl/]" title="[field:title/]" target="_blank">[field:title/]</a></li>
<a href="[field:arcurl/]" title="[field:title/]">[field:title/]</a>
圖片呼叫:
{dede:arclist row='1' typeid='' titlelen='24' orderby='pubdate' type='image.'}
[field:picname/]
{/dede:arclist}
{dede:field.litpic/}
商品文章頁:
dede圖片呼叫標籤:
<img src={dede:field.litpic/}>
{dede:field.litpic/}
[field:imglink/]=<a href='[field:arcurl/]'><img src='[field:picname/]' border='0' width='imgwidth' height='imgheight'></a>
DEDE-列表/欄目頁標籤:
欄目內容:
{dede:field.content/}
呼叫分類資訊:
{dede:arclist row=5 orderby=pubdate typeid='37.' imgwidth='124' imgheight='96'}
{dede:arclistsg orderby=’id’ titlelen=’24′ row=’10′ channelid=’-8′ typeid=’1,2′}
{/dede:arclistsg}
欄目列表頁list標籤:
{dede:list pagesize='10'}
<li>
<a href="[field:arcurl/]" class="title">[field:title/]</a> <span class="info">
<p class="intro">
[field:description/]...
</p>
</li>
{/dede:list}
列表分頁/頁碼:
{dede:pagelist listitem="info,index,end,pre,next,pageno,option" listsize="5"/}
主目錄:
<ul>
<li><a href='{dede:global.cfg_cmsurl/}/'><span>主頁</span></a></li>
{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}
</ul>
<li><a href='{dede:global.cfg_cmsurl/}/'><span>主頁</span></a></li>
{dede:channel type='top' row='10'}
<li><a href='[field:typeurl/]'><span>[field:typename/]</span></a></li><li class="line"></li>
{/dede:channel}
欄目,目錄呼叫
<ul>
<li><a href='{dede:global.cfg_cmsurl/}/'><span>主頁</span></a></li>
{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}
</ul>
<UL>
{dede:channel typeid=39 type='son' noself='yes'}
<LI><a href="[field:typeurl/]">[field:typename/]</a></LI>
{/dede:channel}
</UL>
[field:typelink/]
帶標題的