Appearance
DedeCMS模塊標簽 ?
bookcontentlist連載圖書(shū)最新內容調用 ?
**名稱(chēng):**bookcontentlist
**功能:**連載圖書(shū)最新內容調用
語(yǔ)法:
html
{dede:bookcontentlist row='12' booktype='-1' orderby='lastpost' author='' keyword=''}
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width='40%'>
[[field:cataloglink/]] [field:booklink/]
</td>
<td width='40%'>[field:contentlink/]</td>
<td width='20%'>[field:lastpost function="GetDateMk(@me)"/]</td>
</tr>
</table>
{/dede:bookcontentlist}
文件:
\include\taglib\bookcontentlist.lib.php
function lib_bookcontentlist(&$ctag, &$refObj)
默認底層模板:
bookcontentlist.htm
參數:
row=12 調用記錄條數
booktype=-1 圖書(shū)類(lèi)型,0 圖書(shū)、1 漫畫(huà),默認全部
titlelen=30 標題長(cháng)度
orderby=lastpost 排序類(lèi)型,當按排序類(lèi)型為 commend 表示推薦圖書(shū)
author='' 作者
keyword='' 關(guān)鍵字
底層字段:
contenttitle,contentid,contenturl,dmbookurl,bookurl,catalogurl,cataloglink,booklink,contentlink,imglink,ischeck,booktypename
booklist連載圖書(shū)調用 ?
**名稱(chēng):**bookcontentlist
**功能:**連載圖書(shū)調用
語(yǔ)法:
html
{dede:booklist row='12' booktype='-1' orderby='lastpost' author='' keyword=''}
<a href='[field:bookurl /]'>[field:bookname /]</a><br />
{/dede:booklist}
文件:
\include\taglib\booklist.lib.php
function lib_booklist(&$ctag, &$refObj, $getcontent=0)
默認底層模板:
booklist.htm
參數:
row=12 調用記錄條數
booktype=-1 圖書(shū)類(lèi)型,0 圖書(shū)、1 漫畫(huà),默認全部
titlelen=30 標題長(cháng)度
orderby=lastpost 排序類(lèi)型,當按排序類(lèi)型為 commend 表示推薦圖書(shū)
author='' 作者
keyword='' 關(guān)鍵字
底層字段:
contenttitle,contentid,contenturl,dmbookurl,bookurl,catalogurl,cataloglink,booklink,contentlink,imglink,ischeck,booktypename
group 圈子調用標簽 ?
**名稱(chēng):**group
**功能:**調用系統圈子信息
語(yǔ)法:
html
{dede:group row='6' orderby='threads' titlelen='30'}
<li>
<span><img style="visibility: inherit;" title="[field:groupname/]" src="[field:icon/]" /></span>
<span><a href="[field:url/]" title="[field:groupname/]" target="_blank">[field:groupname/]</a></span>
</li>
{/dede:group}
文件:
\include\taglib\group.lib.php
function lib_group(&$ctag,&$refObj)
默認底層模板:
groups.htm
參數:
row=6 調用條數
orderby=threads 排列順序(默認是主題數)
titlelen=30 圈子名稱(chēng)最大長(cháng)度
底層字段:
groupimg,groupid,groupname,url,icon
groupthread圈子主題調用標簽 ?
**名稱(chēng):**group
**功能:**調用系統圈子模塊主題
語(yǔ)法:
html
{dede:groupthread gid='0' orderby='dateline' orderway='desc' row='12' titlelen='30'}
<li>
<a href='[field:groupurl/]' target="_blank">[[field:groupname function="cn_substr(@me,10)"/]]</a>
<a href="[field:url/]" title="[field:subject/]" target="_blank">[field:subject/]</a>
([field:lastpost function="GetDateMk('@me')"/])
</li>
{/dede:groupthread}
文件:
\include\taglib\groupthread.lib.php
function lib_groupthread(&$ctag,&$refObj)
默認底層模板:
groupthreads.htm
參數:
gid=0 圈子id,默認為全部
orderby='dateline' 排序,默認為時(shí)間
orderway='desc' 排序方向,默認是最新主題在前
row=12 記錄數
titlelen=30 主題標題(subject)最大長(cháng)度
底層字段:
subject,url,groupurl,gid,tid,lastpost,groupname