" dbsource = "dedecmsdb" num = "7" return = "data "}{Loop $ data $ R}{/Loop}{/PC}7. Call subtopics (required in the topic homepage template)
{PC: Content action = "category" catid = "$ catid" num = "25" siteid = "$ siteid" Order = "listorder ASC "}{Loop $ data $ R}{/Loop}{/PC}8. display the topic name with the specified ID (catid = 22 in this example)
{$ Categorys [22] ['catname']}9. display the article cat
Zhimeng template engine can not only parse templates, but also analyze error tags in templates.
1. the code style of the Zhimeng template engine is as follows:
{Dede: Tag name attribute = 'value '/}
{Dede: Tag name attribute = 'v
The global tag text tutorial used in the dedecms template. if this official template is too abstract, refer:
Parsing engine overview template design specification code reference
Reference: arclist (artlist, likeart, hotart, imglist, imginfolist, coolart, specart) field channel mytag vote friendlink myne
tag library, you must first define a tag library to describe the file TLD ). This is an XML-based script file, this file defines the XML version, the encoding used, the tag library version, the JSP version used, the tag library name, and all the tags contained in this libra
If the official template is too abstract, refer:Parsing engine overview template design specification code referenceReference: arclist (artlist, likeart, hotart, imglist, imginfolist, coolart, specart) field channel mytag vote friendlink mynews loop channelartlist page list pagelist pagebreak fieldlist--------------------------------------------------------------------------------1. Introduction to zhimeng
= "parameter value" parameter name = "parameter value "}
Action: The value of this parameter indicates an operation event. The model PC label must contain this parameter to describe the operation to be performed.
Catid: gets the ID of the channel column and the data of the column.
Num: gets the number of records, and is finally transferred to the processing function by the template engine as limit.
Order:
= ". ssp"
TagFlagCnt = "-4"
...
TagFlagStr indicates that the tag template source file can be preprocessed, for example, myPage. ssp. this extension triggers tag processing. the tagFlagCnt attribute defines the number of characters ending with the file name, including ". "(xxxYyy. ssp ). for example,-4 repre
First, prefaceWhen we use String-base's template engine (such as handlebars.js, etc.), the template text is either stored through an external file or loaded via the XHR or script tag, or through labels are written directly on the current page. Now HTML5 provides us with a brand-new
$ data objects from the request. If any of these objects has been created before (for example, in the Action class ), the object will not be visible in the resource template. Otherwise, the object will be set to NULL.Obtain the reference of the ViewResourcesConfig object again. It contains the configuration parameters.Set the path to the template source file and the compiled
Description of the Weaver dream template tag. Before learning about the template code of DedeCms, it is very meaningful to know about the Zhimeng template engine. The Zhimeng template engine is a template parser that uses the XML
Before you know the template code for DEDECMS, it makes sense to know the knowledge of the dream templating engine. Weaving dream template engine is a template parser using XML namespace form, the biggest advantage of using the Dream Parser parsing template is that it can easily make the attributes of the
Dedecms template tag code official reference. I didn't expect dedecms to be able to do DIY like this. Niu Ah address: www. dedecms. comarchivestemplethelphelp. before learning about the DedeCms template code, I learned about the Zhimeng template engine.
Address: http://www.dedecms.com/archives/templethelp/help/
Before
PHP. MVC template tag system (3 ). PHP. after introducing the MVC tag syntax, we can now look at the syntax of the template tag system. before looking at the specific tag, we should define what serves as our
I didn't think Dedecms could do this DIY, ox.
Address: http://www.dedecms.com/archives/templethelp/help/
Before you know the template code for DEDECMS, it makes sense to know the knowledge of the dream templating engine. Weaving dream template engine is a template parser using XML namespace form, the biggest advantage of using the Dream Parser parsing
I didn't think Dedecms could do this DIY, ox.
Address: http://www.dedecms.com/archives/templethelp/help/
Before you know Dedecms's template code, it makes sense to understand the knowledge of a dream template engine. Dream-Weaving template engine is a template parser using the XML namespace form, the biggest benefit o
Dedecms template tag code official reference did not expect dedecms can be like this DIY, Niu Ah
Address: http://www.dedecms.com/archives/templethelp/help/
Before learning about the template code of DedeCms, it is very meaningful to know about the Zhimeng template engine. The Zhimeng
Before learning about the DedeCms template code, it is very meaningful to know about the Zhimeng template engine. The Zhimeng template engine is a template parser that uses XML namespaces. The biggest advantage of using the Zhimeng parser to parse templates is that you can easily define
ThinkPHP template IF label usage details. The IF tag of ThinkPHP can be used to define complex condition judgments, for example, ifcondition ($ nameeq1) OR ($ namegt100) value1elseifcondition $ nameeq2value2elsevalue3if note ThinkPHP IF Tag can
Used to define complex condition judgmentsFor example:
value1
value2
value3
Note: The condition attribut
Before learning about the template code of DedeCms, it is very meaningful to know about the zhimeng template engine. The zhimeng template engine is a template parser that uses XML Namespaces. The biggest advantage of using the zhimeng parser to parse templates is that you can easily define
PHP. after the MVC tag syntax is introduced, we can now look at the syntax of the template tag system. before looking at the specific tag, we should define what serves as our tag. to write a tag, we apply @... @
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.