教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 实用模板 >

DEDECMS标签手册(9)

来源:网络收集 时间:2026-02-28
导读: fieldlist 当前模型内容页字段列表 名称:fieldlist 功能:获取当前模型内容页字段列表 语法: {dede:fieldlist} 文件: \\include\\arc.archives.class.php 默认底层模板: tag_fieldlist.htm 参数: 无 底层字段

fieldlist 当前模型内容页字段列表

名称:fieldlist

功能:获取当前模型内容页字段列表 语法:

{dede:fieldlist}

文件:

\\include\\arc.archives.class.php 默认底层模板: tag_fieldlist.htm 参数: 无

底层字段:

name,tagname,value 范例:

可参看\\templets\\default\\article_default.htm中相关字段

模块标签

bookcontentlist连载图书最新内容调用

(>=DedeCMS 3,DedeCMS 4,DedeCMS 5) 名称:bookcontentlist

功能:连载图书最新内容调用 语法:

{dede:bookcontentlist row='12' booktype='-1' orderby='lastpost' author='' keyword=''}

[[field:cataloglink/]] [field:booklink/] [field:contentlink/]

[field:lastpost function=\

{/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

booklist连载图书调用

(>=DedeCMS 3,DedeCMS 4,DedeCMS 5) 名称:bookcontentlist 功能:连载图书调用 语法:

{dede:booklist row='12' booktype='-1' orderby='lastpost' author='' keyword=''} [field:bookname /]
{/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 圈子调用标签

名称:group

功能:调用系统圈子信息 语法:

{dede:group row='6' orderby='threads' titlelen='30'}

{/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

groupthread圈子主题调用标签

名称:group

功能:调用系统圈子模块主题 语法:

{dede:groupthread gid='0' orderby='dateline' orderway='desc' row='12' titlelen='30'}

href=\

title=\

target=\

function=\

{/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

其他标签

infoguide 分类信息的地区与小分类搜索

(>DedeCMS 4,DedeCMS 5) 名称:infoguide

功能:获取分类信息的地区和小分类搜索的表单,本标签需要在分类信息模型下使用 语法:

{dede:infoguide}

{/dede:infoguide}

文件:

\\include\\taglib\\infoguide.lib.php

function lib_infoguide(&$ctag,&$refObj) 默认底层模板: info_guide.htm 参数: 无

底层字段:

nativeplace,infotype,typeid 范例:

可以查看分类信息页面模板list_info.htm文件。

…… 此处隐藏:694字,全部文档内容请下载后查看。喜欢就下载吧 ……
DEDECMS标签手册(9).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/453135.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)