ZC_BLOG_MASTERTemplate file and template tag z-blog Build

z-blog  时间:2021-01-13  阅读:()

Template file and template tag z-blog Build

Template file and template tag z-blog Build

The homepage is related to the list page

1.default.html page master template file

The catalog.html list page template file 1)

The b_article - multi-.html article template

B_article - istop.html 2)

B_pagebar.html page at the bottom of the page, you can change the page style

Log page correlation templates

Single.html log page master template file

The b_article - single-.html log page article template B_article_nvabar_l.html log page article navigation,displaying "previous" log link 3

The b_article_nvabar_r.html log page article navigation,displaying the "next" log link

B_article_trackback.html displays the template for each reference notice

Article 6. B_article_mutuality. HTML each article display t emp lat e

B_article_comment. HTML per comment content displays template

4

B_article_commentpost.html comment sends form template 5)B_article_commentpost-veri.html comment captcha 6)

The display style for each tag in the b_article_tag.html The message is related to the template

The template for the message is optional, and the log page template is used if no.

B_article - guestbook.html message page body template, which is calledb_article-single-.html template if it does not exist The guestbook.html message page master template file (the default theme does not have this file) , and the single.html template is called if it does not exist

Other template files

The search.html search page template displays the search page The TagCloud is displayed in the tags

Z-blog template tag library and relevant instructions, system

constant c_option. Asp

Label meaning

< # ZC_BLOG_VERS ION # >

< # ZC_BLOG_LANGUAGE # > blog page language defaults to zh-cn < # ZC_BLOG_HOST # > blog url

< # ZC_BLOG_TITLE # > blog title is displayed in the browser title bar

< # ZC_BLOG_SUBTITLE # > blog prof ile

< # ZC_BLOG_NAME # > blog name is displayed in the page < # ZC_BLOG_SUB_NAME # > blog subtitle

< # ZC_BLOG_COPYRIGHT # > copyright note

< # ZC_BLOG_MASTER # > blog host name

< # ZC_CONTENT_MAX # > for the longest word

< # ZC_EMO T I C ONS_F I LENAME # >

< # ZC_EMOTICONS_FILESIZE # > emoticons - high and wide < # ZC_GUE STB OOK_CONTENT # >

< # ZC_BLOG_CLSID # # > blog, the unique identifier is not changed regularly to prevent spam robots from being valid < # ZC_TIME_ZONE # > blog time zone defaults to + 0800, or Beijing time

The < # ZC_IMAGE_WIDTH # > image is automatically reduced to size

< # ZC_BLOG_THEME # >

< # ZC_VERIFYCODE_WIDTH # > capsize image -wide

< # ZC_VERIFYCODE_HEIGHT # > captcha - high

Most of the parameters shown above can be modified in the background website Settings.

2. Language resources

(LANGUAGE/SimpCh ine se. Asp)

< # ZC_MSGxxx # > quotes content from: ZC_MSG001 - ZC_MSG230Here, XXX is the last three digits of the string resource that the guide USES.

3. The file cache

Using the < # CACHE_INCLUDE_f ile name (all uppercase and not suffix) #>, you can refer to the contents of the text file under

the root directory INCLUDE folder

Using the < # TEMPLATE_INCLUDE_ file name (all uppercase and not suffix) # >, you can refer to the contents of the text file under the subject directory INCLUDE folder

For more information, see how to refer to the include directory within the template

The label is available by default

Label meaning

< # CACHE_INCLUDE_CATALOG # > c lassi f ication directory < # CACHE_INCLUDE_AUTHORS # > user l i st

< # CACHE_INCLUDE_TAGS # > Tags are displayed from the number of USES to less than 50

< # CACHE_INCLUDE_STATISTICS # > s ite stat ist ics

< # CACHE_INCLUDE_PREVIOUS # > was recently publ ished < # CAC HE_I NC LUD E_C OMM ENT S # >

< # CACHE_INCLUDE_GUESTCOMMENTS # > recent ly commented on the latest message in the comments

< # CACHE_INCLUDE_TRACKBACKS # > recent ly ref erenced

< # CAC HE_INC LUD E_CALENDA R # > c a l en dar

< # CACHE_INCLUDE_CALENDAR_NOW # > current ca l endar

catalog.html references this calendar tag to display the current date

< # CAC HE_INC LUD E_A RCH I VE S # > ar c h i v e s

The contents of the above tags are automatically generated by the system and do not change manually; The following tags can be modified in background link management

< # CACHE_INCLUDE_NAVBAR # > navigat ion bar

< # CACHE_INCLUDE_LINK # > friendship l ink

< # CACHE_INC LUD E_FAVORI T E # >

< # CACHE_INCLUDE_M I SC # > i con

Use the <#CACHE_INCLUDE_f ile name (fully capitalized and not suff ix) _HTML # >, which indicates the mandatory reference to the contents of the file under the root directory INCLUDE folder Use the < # CACHE_INCLUDE_ f ile name (all uppercase and not suffix) _JS # >, which indicates that the file under the root directory INCLUDE the root directory is mandatory javascript The article data

Article basic data:

Related template file: b_article - istop.html, b_article -multi-.html, b_article - single-.html

Label meaning

< # art icl e/i d# > number

< # article/url# > link

< # art icle/level# > permiss ions

< # article/title# > title

< # article/staticname# > al ias

< # art icl e/intro# > summary

< # art icle/content# >

< # article/posttime# > time in more time format see article generation time

< # art icl e/commnums # > comments

< # article/viewnums# > browse the recommended use of JS for viewing details. . .

< # art icle/trackbacknums# > reference number

< #article/trackback_url #> refers to the link after the link

is clicked to get the full link

< # article/pretrackback_url # >

< # art icle/trackbackkey# >

< # article/commentposturl# >

< # article/commentkey# >

< # article/commentrss# > comments RSS

The < # article/tagtoname# > tags text format can be used in the < head > area as a keyword

< #article/firsttagintro# > the first tag summary will set up the image link, which can be used as an autograph

Article classified data:

Label meaning

< # art icl e/category/i d# > number

< # article/category/order# > serial number

< # art icl e/category/name# > name

< # art icle/category/stat icname# > alias

< # article/category/url# > link

< # art icl e/category/count# >

Article author data:

Label meaning

< # art icle/author/id# > number

< # art icl e/author/name# > name

< # article/author/staticname# > alias

< # article/author/level# > class

< # art icl e/author/emai l# > Emai l

< # article/author/homepage# > site link

< # article/author/count# > articles

< # article/author/url# > link

Article block-level labels:

Some articles related to the data module also have their own templates, which we call "block-level tags. "

Label meaning

< # template: article_tag # > tags, the custom template is

buyvm美国大硬盘VPS,1Gbps带宽不限流量

buyvm正式对外开卖第四个数据中心“迈阿密”的块存储服务,和前面拉斯维加斯、纽约、卢森堡一样,依旧是每256G硬盘仅需1.25美元/月,最大支持10T硬盘。配合buyvm自己的VPS,1Gbps带宽、不限流量,在vps上挂载块存储之后就可以用来做数据备份、文件下载、刷BT等一系列工作。官方网站:https://buyvm.net支持信用卡、PayPal、支付宝付款,支付宝付款用的是加元汇率,貌似...

SugarHosts糖果主机商更换域名

昨天,遇到一个网友客户告知他的网站无法访问需要帮他检查到底是什么问题。这个同学的网站是我帮他搭建的,于是我先PING看到他的网站是不通的,开始以为是服务器是不是出现故障导致无法打开的。检查到他的服务器是有放在SugarHosts糖果主机商中,于是我登录他的糖果主机后台看到服务器是正常运行的。但是,我看到面板中的IP地址居然是和他网站解析的IP地址不同。看来官方是有更换域名。于是我就问 客服到底是什...

妮妮云80元/月,香港站群云服务器 1核1G

妮妮云的来历妮妮云是 789 陈总 张总 三方共同投资建立的网站 本着“良心 便宜 稳定”的初衷 为小白用户避免被坑妮妮云的市场定位妮妮云主要代理市场稳定速度的云服务器产品,避免新手购买云服务器的时候众多商家不知道如何选择,妮妮云就帮你选择好了产品,无需承担购买风险,不用担心出现被跑路 被诈骗的情况。妮妮云的售后保证妮妮云退款 通过于合作商的友好协商,云服务器提供2天内全额退款,超过2天不退款 物...

z-blog为你推荐
域名注册网站哪儿有免费的正规域名注册网站?中国互联网域名注册中国互联网域名注册怎么操作asp主机空间asp空间是什么域名主机电脑域名是什么美国vps主机美国VPS好?还是香港VPS好?网站空间域名什么是网站域名和网站空间台湾主机台湾的第一台电脑域名备案域名怎么进行备案?虚拟空间免费试用那位给我介绍个可以试用三天的虚拟空间。asp虚拟空间ASP空间是什么意思?
美国服务器托管 深圳虚拟主机 备案域名购买 域名大全 骨干网 国外主机 堪萨斯服务器 l5639 免费主机 韩国电信 特价空间 patcha 搜狗抢票助手 国外免费全能空间 酷番云 如何注册阿里云邮箱 卡巴斯基免费试用版 银盘服务 我的世界服务器ip 国内域名 更多