名称:bookcontentlist 功能:连载图书最新内容调用 语法:
{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 图书类型,0 图书、1 漫画,默认全部 titlelen=30 标题长度 orderby=lastpost 排序类型,当按排序类型为 commend 表示推荐图书 author=’’ 作者 keyword=’’ 关键字 底层字段: contenttitle,contentid,contenturl,dmbookurl,bookurl,catalogurl,cataloglink,booklink,contentlink,imglink,ischeck,booktypename
名称:bookcontentlist 功能:连载图书调用 语法:
{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 图书类型,0 图书、1 漫画,默认全部 titlelen=30 标题长度 orderby=lastpost 排序类型,当按排序类型为 commend 表示推荐图书 author=’’ 作者 keyword=’’ 关键字 底层字段: contenttitle,contentid,contenturl,dmbookurl,bookurl,catalogurl,cataloglink,booklink,contentlink,imglink,ischeck,booktypename
名称:group 功能:调用系统圈子信息 语法:
{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 圈子名称最大长度 底层字段: groupimg,groupid,groupname,url,icon
名称:group 功能:调用系统圈子模块主题 语法:
{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’ 排序,默认为时间 orderway=’desc’ 排序方向,默认是最新主题在前 row=12 记录数 titlelen=30 主题标题(subject)最大长度 底层字段: subject,url,groupurl,gid,tid,lastpost,groupname
