手机
当前位置:查字典教程网 >CMS教程 >z-blog >Z-Blog文章列表区标签与特殊标签说明
Z-Blog文章列表区标签与特殊标签说明
摘要:关键字描述:标签说明特殊文章<default.htmlcatalog.html文章列表区多页排列的分页条::由default.html和...

关键字描述:标签 说明 特殊 文章 < default.html catalog.html

文章列表区

多页排列的分页条:

<#template:pagebar#>:由default.html和catalog.html引用

<#pagebar/page/url#>:在b_pagebar.html中定义和修改

<#pagebar/page/number#>:在b_pagebar.html中定义和修改

只有“前一页”和“后一页”的分页条:

<#template:pagebar_next#>:由default.html和catalog.html引用

<#template:pagebar_previous#>:由default.html和catalog.html引用

只由catalog.html使用的标签:

<#articlelist/author/id#>

<#articlelist/tags/id#>

<#articlelist/category/id#>

<#articlelist/date/year#>

<#articlelist/date/month#>

<#articlelist/date/day#>

<#articlelist/date/shortdate#>

由default.html和catalog.html使用的标签:

<#articlelist/page/now#>

<#articlelist/page/all#>

特殊的标签

<#BLOG_CREATE_TIME#>:文件生成时的当前时间,可以放在default.html,single.html等页

<#BlogTitle#>:当前页的标题

如果在default.html就是BLOG的子标题,在single.html就是文章的标题,在catalog.html就是相关分类等的名称,等等

其他类.

ConstZC_CONTENT_MAX=1000'留言最长字数

ConstZC_TB_EXCERPT_MAX=250'自动截取摘要的字数(当摘要为空时有效)

ConstZC_RECENT_COMMENT_WORD_MAX=16'侧边栏中留言,评论,引用每条显示字数,超过则截前14(16-2)字 "..."

ConstZC_TEMPLATE_DIRECTORY="template"'模板文件的目录,默认为TEMPLATE(不分大小写)

ConstZC_UPLOAD_DIRECTORY="upload"'上传附件的目录

【Z-Blog文章列表区标签与特殊标签说明】相关文章:

去掉ZBLOG文章摘要的方法

zblog二次回复不显示在侧栏最新评论里的修改方法

zblog文章自动生成摘要长度修改方法

Z-Blog语言资源与文件缓存区标签

Z-Blog常用标签说明

zblog文章发布默认浏览数修改方法

zblog 文章评论数、浏览数出错的原因

Z-blog系统常量标签说明

Z-blog自定义标签使用教程

z-blog模板中引用INCLUDE目录内文件

精品推荐
分类导航