Related recommendations: "Empire cms tutorial"
Empire CMSThe variables supported by the home page, list page, and content page templates are different. Some are universal and some are not universal. This article lists the commonly used variables for these three templates. In addition, smart tags are very good. Use it, and store it here for later use, so you don't have to rummage around.
1. Variables supported by the home page
Website name: [!--pagetitle--] | Website address: [!--news.url--] |
First-level column navigation: [!--class.menu--] | Page keywords: [!--pagekey--] |
Page description: [!--pagedes--] |
##2. Variables supported by the list page
2.1. Common tags supported by the list page templatePage keyword: [!--pagekey--] | |
Column name: [!--class.name--] | |
Column/topic introduction :[!--class.intro--] | |
Column/topic keyword : [!--class.keywords--] | |
Page navigation (drop-down ): [!--show.page--] | |
Title link: [!--titleurl--] | |
Column ID: [!--classid--] | |
Column name (without link): [!--this.classname--] | |
Website address: [!--news.url--] | |
Number of comments: [!-- plnum--] | |
Release time: [!--newstime--] |
Page description: [!--pagedes--] | ||||||||||||||||||||||||||
Statistics access: [!--page.stats--] | ||||||||||||||||||||||||||
Keywords: [!--keyboard--] | ||||||||||||||||||||||||||
This column ID: [!--self.classid--] | ||||||||||||||||||||||||||
Publisher ID :[!--userid--] | ||||||||||||||||||||||||||
##Previous post: [!--info.pre- -] | ||||||||||||||||||||||||||
Release time: [!--newstime--] | ||||||||||||||||||||||||||
Real-time display of clicks (not counted): | ||||||||||||||||||||||||||
Display the number of comments in real time: < script src=[!--news.url--]e/public/ViewClick/?classid=[!--classid--]&id=[!--id--]&down=2> | ||||||||||||||||||||||||||
4. Commonly used variables for smart tags
in any php or template Use $public_r['add_variable name'] to obtain the variable content. The following are examples of system common variables and extended variables:
|
The above is the detailed content of Commonly used tags in empire cms (summary). For more information, please follow other related articles on the PHP Chinese website!