本电子书由站长百科(www.zzbaike.com)
组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列
标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
EXCMS模板标签之列表标签详解
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科EXCMS标签_列表标签词条,查看内容请访问网站。
EXCMS模板标签介绍,“列表标签”:
channellist栏目列表标签
标签名称:channellist
功能
:用于获取栏目列表
适用范围:封面模板、列表模板、文档模板
基本语法:{channellist channelid= type= row= item=}{channellistelse}
{/channellist}
属性说明:
名称
默认
值
是
否
必
填
描述
channelid 0 否
表示栏目 ID,在栏目模板和封面模板中不需要指定,在封面模板中允许
用","分开表示多个栏目,默认为 0,也就是相当于顶级栏目。
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
type self 否
显示类型,nav表示导航栏目 son表示下级栏目,self表示同级栏目,top
顶级栏目,cross显示某栏目下交叉栏目,sub:包含子栏目,默认为 self。
row 所有 否 表示显示栏目数量。
item 空 否
通过 item属性可访问 channellist标签自身的属性,channellist中的
item属性包含了当前栏目表的所有字段信 息,channellist自身属性可
以通过{$name.property}访问,其中"$name"是 item指定的变量名称,
property是指 当前栏目表的字段信息。
底层模板字段:channellist标签支持栏目表的所有字段,如下
channelid, pid, name, total, modelid, path, type, forward, redirectto, defaultpage,
title, keywords, description, picture, checked, navigation, visible, auth, comment,
contribute, templateindex, templatelist, listurlrule, crosslisturlrule,
templatedetail, detailurlrule, templatesingle, usedomain, sitedomain, sitepath,
body, sort
支持栏目表的所有字段以外,系统提供了一些附加字段
original_channelid, topid, url, childids, child, subids, crossedids
channellist标签字段的说明请点击这里
例子:显示 8条在导航栏显示的栏目列表。
1 {channellist type='nav' row=8}
2 {loop item=channelist}
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
3
{$channelist.name}
4 {/loop}
5 {/channellist}
上例输出结果:
contentpagelist内容分页列表标签
标签名称:contentpagelist
功能说明:用于显示内容分页列表
适用范围:列表模板
基本语法:{contentpagelist channelid= titlelen= infolen= imgwidth=
imgheight= orderby= includesubchannel= pagesize= pagetag=}
{contentpagelistelse}{/contentpagelist}
属性说明:
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
名称 默认值
是
否
必
填
描述
channelid 0 否
表示栏目 ID,在栏目模板和封面模板中不需要指定,多个
栏目 ID可用",",默认为 0,也就是相当于顶级栏目。
pagesize 所有 否 表示内容列表分页大小。
titlelen 全部 否 表示标题显示的长度。
infolen 全部 否 表示内容描述显示的长度。
imgwidth 空 否 表示缩略图宽度。
imgheight 空 否 表示缩略图高度。
pagetag page 否
分页页码变量,通过变量 pagetag指定分页参数数据名称,
动态浏览时使用。
includesubchannel 否 否 表示是否加载子栏目数据。
orderby contentid 否
表示排序方式,默认值是 contentid' 按内容 ID排列。
orderby='hot' 或 orderby='click' 或 orderby='hits'
表示按点击数排列 orderby='pubdate'或'publishdate'
按发布时间排列 orderby=contentid'按内容 ID排序
orderby='lastpost' 按评论最后回复时间排序
orderby='postnum' 按内容评论次数排序
orderby='rand' 随机获得指定条件的文档列表
item 空 否
通过 item属性可访问 contentpagelist标签自身的属性,
如果当前标签指定了栏目,contentpagelist中的 item属
性包含了当前栏目表的所有字段信息,否则为空,
contentpagelist自身属性可以通过{$name.property}访
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
问,其 中"$name"是 item指定的变量名称,property是
指当前栏目表的字段信息。
底层模板字段:contentpagelist标签支持内容数据表的所有字段,如下
contentid, modelid, channelid, channelcross, title, shorttitle, metatitle, keywords,
tags, description, source, author, isthumb, thumb, titleatt, likekeywords,
likecontentid, forward, template, filename, ishtml, checked, userid, username,
publishdate, modifieddate, createddate, distillate, recommend, credits, comment,
sort, path
支持内容数据表的所有字段以外,系统提供了一些附加字段
url, encrypt_contentid, info, fulltitle, channel
contentpagelist标签字段的说明请点击这里
例子:分页显示栏目“101”下的所有内容列表,每页显示 2
。
01
02 {contentpagelist channelid=101 pagesize=20}
03
04
05
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
06 {loop item=cnt}
07 {if $_PAGE_CHANNEL.modelid==2}
08 -
09
10
11
12 {else}
13 -
14
15
16
{$cnt.publishdate
renderer=formatDate('Y-m-d h:i',@this)}
17 {$cnt.description} [阅读全文]
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
18 {if $cnt.source} 来源:
{$cnt.source}
{/if}
19
20 {/if}
21
22 {/loop}
23
24
25 {pager}
{$pager.data}
{/pager}
26
27 {contentpagelistelse}
28
当前没有内容
29 {/contentpagelist}
上例输出结果:
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
tagpagelist TAG分页列表标签
标签名称:tagpagelist
功能说明:显示 TAG分页列表标签
适用范围:列表模板
基本语法:{tagpagelist channelid= titlelen= infolen= imgwidth=
imgheight= orderby= includesubchannel= pagesize=
pagetag=}{tagpagelistelse}{/tagpagelist }
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
属性说明:
名称 默认值
是
否
必
填
描述
channelid 0 否
表示栏目 ID,在栏目模板和封面模板中不需要指定,多个
栏目 ID可用",",默认为 0,也就是相当于顶级栏目。
pagesize 所有 否 表示内容列表分页大小。
titlelen 全部 否 表示标题显示的长度。
infolen 全部 否 表示内容描述显示的长度。
imgwidth 空 否 表示缩略图宽度。
imgheight 空 否 表示缩略图高度。
pagetag page 否
分页页码变量,通过变量 pagetag指定分页参数数据名称,
动态浏览时使用。
includesubchannel 否 否 表示是否加载子栏目数据。
orderby contentid 否
表示排序方式,默认值是 contentid' 按内容 ID排列。
orderby='hot' 或 orderby='click' 或 orderby='hits'
表示按点击数排列 orderby='pubdate'或'publishdate'
按发布时间排列 orderby=contentid'按内容 ID排序
orderby='lastpost' 按评论最后回复时间排序
orderby='postnum' 按内容评论次数排序 orderby='rand'
随机获得指定条件的文档列表
item 空 否
通过 item属性可访问 tagpagelist标签自身的属性,
tagpagelist中的 item属性包含了当前 tag表的所有字段
信息,tagpagelist自身属性可以通过{$name.property}访
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
问,其中"$name"是 item指定的变量名称,property是 指
当前 tag表的字段信息。
tag的所有属性:tagid(标签 ID),name(标签名),createddate(创建标签时
间),click(总访问量),contentscount(标签中文章数量),weekcc(周访问
量),monthcc(月访问 量),weekup,monthup
底层模板字段:tagpagelist标签支持内容数据表的所有字段,如下
contentid, modelid, channelid, channelcross, title, shorttitle, metatitle, keywords,
tags, description, source, author, isthumb, thumb, titleatt, likekeywords,
likecontentid, forward, template, filename, ishtml, checked, userid, username,
publishdate, modifieddate, createddate, distillate, recommend, credits, comment,
sort, path
支持内容数据表的所有字段以外,系统提供了一些附加字段
url, encrypt_contentid, info, fulltitle, channel
tagpagelist标签支持TAG数据库
字段名称
表所有字段,如下
说明
tagid 表示标签 ID。
name 表示标签名称。
createddate
表示创建标签时
间。
click 表示总访问量。
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
表示当前标签包含文章数量。
weekcc 表示周访问量。
monthcc 表示月访问量。
weekup 表示本月踩数量。
monthup 表示更新时间。
tagpagelist标签其它字段的说明请点击这里
例子:分页当前 TAG下的所有内容列表,每页显示 40条。
01 {tagpagelist pagesize=40}
02
03
04 {loop item=cnt}
05 -
06
07
08
{$cnt.publishdate
renderer=formatDate('Y-m-d h:i',@this)}
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
09 {$cnt.description} [阅读全文]
10 {$cnt.channel.name}
{if $cnt.source} 来源:
{$cnt.source}{/if}
11
12 {/loop}
13
14
15 {pager}
{$pager.data}
{/pager}
16
17 {/tagpagelist}
上例输出结果:
本电子书由站长百科(www.zzbaike.com)教程组制作
出处:站长百科
原文地址:http://www.zzbaike.com/wiki/EXCMS标签_列表标签
本电子书整理自站长百科 EXCMS标签_列表标签词条,查看内容请访问网站。
更多电子书
SEO方面的知识有很多,对于新手来说,如果你不知道,不清楚这方面的知识,那么,你可
以看看这两部搜索引擎指南:
SEO搜索引擎优化基础教程:http://bbs.zzbaike.com/thread-9952-1-1.html
SEO搜索引擎优化高级教程:http://bbs.zzbaike.com/thread-12692-1-1.html
wordpress的中文翻译文档:http://www.wordpress.la/codex.html,wordpress 开
发的相关知识都有,对WordPress开发感兴趣的博主会有一定的用处。
WordPress免费主题:http://www.wordpress.la/theme.html
WordPress免费插件:http://www.wordpress.la/plugin.html
WordPress主题制作电子书:http://bbs.zzbaike.com/thread-9954-1-1.html
Apache2.2中文文档电子书:http://bbs.zzbaike.com/thread-9955-1-1.html
IXWeHosting控制面板使用手册(在线版+PDF电子书):
http://bbs.zzbaike.com/thread-9953-1-1.html
更多电子书下载:http://down.zzbaike.com/ebook/
1. 美国主机 IXWebHosting使用视频教程(在线观看及下载)
http://bbs.zzbaike.com/thread-47008-1-1.html
2. Godaddy主机及域名使用视频教程(在线观看及下载)
http://bbs.zzbaike.com/thread-50005-1-1.html
如果您有站长类电子书,请到这里与我们分享:
http://bbs.zzbaike.com/forum-69-1.html
详情见: http://bbs.zzbaike.com/thread-23156-1-1.html
站长百科感谢您下载阅读,多谢支持!
channellist栏目列表标签
contentpagelist内容分页列表标签
tagpagelist TAG分页列表标签
更多电子书