同級全部欄目及鏈接
{eyou:channel type="self" currentstyle="active"}
<a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}">{$field.typename}</a>
{/eyou:channel}
type="self" self表示同級
{$eyou.field.ptypename}
上級欄目名稱及鏈接
<a href="{$eyou.field.ptypeurl}">{$eyou.field.ptypename}</a>
上級欄目ID:{$eyou.field.ptypeid}
上級欄目鏈接:{$eyou.field.ptypeurl}
上級欄目名稱:{$eyou.field.ptypename}
{$eyou.field.typeid|gettoptype}
頂級欄目名稱及鏈接
<a href="{$eyou.field.typeid|gettoptype=###,'typeurl'}">
{$eyou.field.typeid|gettoptype=###,'typename'}
</a>
頂級欄目圖片: “{$eyou.field.typeid|gettoptype=###,'litpic'}“
頂級欄目分類(全部)高亮
<a href="{$eyou.field.typeid|gettoptype=###,'typeurl'}" title="{$eyou.field.typeid|gettoptype=###,'typename'}"
{eyou:eq name='$eyou.field.typeid' value='$eyou.field.typeid|gettoptype=###,typeid'}class="active"{/eyou:eq}>
全部
</a>

http://www.epexinri.com/coding/
三級欄目名稱及鏈接
<!-- 一級欄目名稱 -->
<h1>{eyou:channelartlist typeid='$eyou.field.typeid|gettoptype=###,typeid'}{eyou:field name='typename' /}{/eyou:channelartlist}</h1>
<!--二級欄目開始-->
{eyou:channel type="first" currentstyle="active"}
{eyou:eq name='$eyou.field.grade' value='2'}
{eyou:type typeid='$eyou.field.typeid' id='field1'}
{eyou:eq name='$field1.parent_id' value='$field.id'}
{eyou:assign name='$field.currentstyle' value='current' /}
<!--current對應樣式中的display:block-->
{/eyou:eq}
{/eyou:type}
{/eyou:eq}
<h2 class="{$field.currentstyle}">{$field.typename}</h2><!-- 二級欄目名稱 -->
<!--三級欄目開始-->
{eyou:notempty name="$field.children"}
{eyou:channel name="$field.children" id="field2"}
<h3><a href="{$field2.typeurl}" class="{$field2.currentstyle}">{$field2.typename}{$field2.typeid}<!-- 三級欄目名稱 --></a></h3>
{/eyou:channel}
{/eyou:notempty}
{/eyou:channel}
可以參考http://www.epexinri.com/coding/559.html做手風琴折疊菜單
當前三級折疊菜單
<!-- 分類折疊手風琴菜單 開始 -->
<div class="subnavbox bg-white radius">
<h2 class="bg-blue text-white">{eyou:channelartlist typeid='$eyou.field.typeid|gettoptype=###,typeid'}{eyou:field name='typename' /}{/eyou:channelartlist}</h2>
<!--當前欄目下二級欄目調用-->
{eyou:channel type="first" currentstyle="active"}
{eyou:eq name='$eyou.field.grade' value='2'}
{eyou:type typeid='$eyou.field.typeid' id='field1'}
{eyou:eq name='$field1.parent_id' value='$field.id'}
{eyou:assign name='$field.currentstyle' value='current' /}
<!--current對應樣式中的display:block-->
{/eyou:eq}
{/eyou:type}
{/eyou:eq}
<div class="{$field.currentstyle}dd {$field.currentstyle}dt suboneNav">{$field.typename}</div>
<!--當前欄目下三級欄目調用-->
{eyou:notempty name="$field.children"}
<ul class="cur-bg {$field.currentstyle}">
{eyou:channel name="$field.children" id="field2"}
<li><a href="{$field2.typeurl}" class="{$field2.currentstyle}">{$field2.typename}{$field2.typeid}</a>
</li>
{/eyou:channel}
</ul>
{/eyou:notempty}
{/eyou:channel}
</div>
<!-- 分類折疊手風琴菜單 結束 -->
CSS和JS代碼可以點此鏈接獲取:http://www.epexinri.com/coding/559.html
sppurchase
列表頁調用購物車
{eyou:sppurchase id='field' currentstyle='btn-danger'}
<a class="" href="JavaScript:void(0);" {$field.ShopAddCart}>加入購物車(或者圖文字體)</a>
{$field.hidden}
{/eyou:sppurchase}
memberinfos
關聯會員頭像信息
{eyou:memberinfos mid='$field.users_id' id='users'}
<img src="{$users.head_pic}" class="radius-big ans-user-head float-left" alt="{$users.nickname}">
{$users.hidden}
{/eyou:memberinfos}
加入收藏功能
<!-- 收藏代碼開始 -->
<a href="javascript:void(0);" id="ey_1595557091" onclick="ey_1595557091(this);" data-html="已收藏">加入收藏</a>
{:hookexec('Collection/Collection/show')}
<!-- 收藏代碼結束 -->
需要購買插件
{$field.downcount}
附件下載次數
{$field.downcount}
標簽頁標題 / 關鍵詞 / 描述
<!--標簽頁seo標題-->
<title>{$eyou.field.seo_title}_標簽頁_{eyou:global name="web_name" /}</title>
<!--標簽頁seo描述-->
<meta name="description" content="{$eyou.field.seo_description}" />
<!--標簽頁seo關鍵詞-->
<meta name="keywords" content="{$eyou.field.seo_keywords}" />
給推薦一個標識
{eyou:list}
{eyou:eq name='$field.is_recom' value='1'}
<span>{$field.is_recom}</span>
{/eyou:eq}
{/eyou:list}
推薦:is_recom
特薦:is_special
頭條:is_head
有關當前焦點的標簽,只有我能理解
{eyou:channel type="first" currentstyle="active"}
{eyou:eq name='$eyou.field.grade' value='2'}
{eyou:type typeid='$eyou.field.typeid' id='field1'}
{eyou:eq name='$field1.parent_id' value='$field.id'}
{eyou:assign name='$field.currentstyle' value='active' /}
{/eyou:eq}
{/eyou:type}
{/eyou:eq}
<li>
<a href="{$field.typeurl}" class="{$field.currentstyle}">{$field.typename}</a>
</li>
{/eyou:channel}
----------------------------------------------------------
{eyou:channel type='sonself' currentstyle="active"}
<li>
<a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}">{$field.typename}</a>
</li>
{/eyou:channel}
當前欄目文章數
{$eyou.field.typeid|GetTotalArc=###}
統計欄目文章數 — GetTotalArc(當前欄目ID)
當前欄目判斷有無子欄目
{eyou:gt name="$eyou.field.has_children" value="0"}有則顯示{/eyou:gt}
gt 大于 greater than
列表第一篇文檔與其他文檔不同樣式
{eyou:list pagesize='20' titlelen='40'}
{eyou:eq name='$i' value='1'}<!--判斷開始-->
<li>img src="{$field.litpic}"><a href="{$field.arcurl}" title="{$field.title}">{$field.title}</a</li><!--第一條-->
{else /}<!--判斷第一條結束-->
<li><a href="{$field.arcurl}" title="{$field.title}">{$field.title}</a></li><!--余下條數-->
{/eyou:eq}<!--判斷結束-->
{/eyou:list}
當前欄目調用同級欄目
{eyou:channel type="self" currentstyle="active"}
<a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}">{$field.typename}</a>
{/eyou:channel}
當前欄目調用子欄目
{eyou:channel type="son" currentstyle="active"}
<a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}">{$field.typename}</a>
{/eyou:channel}
{$eyou.field.content}
當前單頁正文
{$eyou.field.content}