Home CMS Tutorial Empire CMS Commonly used tags in empire cms (summary)

Commonly used tags in empire cms (summary)

Dec 18, 2020 pm 06:03 PM
Empire cms

Commonly used tags in empire cms (summary)

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 template

Page title: [ !--pagetitle--]Page keyword: [!--pagekey--]##Page description: [!--pagedes--]Navigation bar: [!--newsnav--]This column/topic ID: [!--self.classid--] Column/topic thumbnail: [!--class.classimg--]Paging navigation (list style): [!--show.listpage--]2.2. Common variables supported by list content template (list.var)
Column name: [!--class.name--]
Column/topic introduction :[!--class.intro--]
Column/topic keyword : [!--class.keywords--]
Page navigation (drop-down ): [!--show.page--]


Information ID: [!- -id--]Title ALT (do not intercept characters): [!--oldtitle--] Column name (with link): [!--class.name--] Column address: [!--this.classlink--]Publisher: [!--username--] Number of clicks: [!--onclick--]
Title link: [!--titleurl--]
Column ID: [!--classid--]
Column name (without link): [!--this.classname--]
Website address: [!--news.url--]
Number of comments: [!-- plnum--]
Release time: [!--newstime--]
3. Variables supported by the content page

##Page title: [!--pagetitle--]Page keyword: [!--pagekey--]Page description: [!--pagedes--]Navigation bar: [! --newsnav--]Statistics access: [!--page.stats--]Column ID: [!--classid--]Keywords: [!--keyboard--] Column name: [!--class.name--]This column ID: [!--self.classid--]Related links: [!--other.link--]Publisher ID :[!--userid--]Publisher: [!--username--]Next article: [!--info.next--]Source: [!--befrom--]
##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

##Title picture: Number of clicks: ##Article introduction:Number of comments: ## Column link: Call number: Website address: Information ID: < ;?=$bqr[id]?> 5. Custom expansion variable
Title: Title link:
Title interception:
Time:< ;?=date('Y-m-d',$bqr[newstime])?>
Column:

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:

Website name: (common to the entire site) Website sentence: (Daily sentence: Your efforts will eventually achieve your own success) Webmaster nickname: (ytkah) Webmaster's word: (Contact us: Please scan the QR code) Webmaster profile: (ytkah, a person who understands SEO Developer!) Website registration: qq group link: qqmail: Weibo link: Website statistics: Website announcement: More programming related For knowledge, please visit: programming teaching
! !

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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Where is the imperial cms website map? Where is the imperial cms website map? Apr 17, 2024 am 10:48 AM

The Empire CMS sitemap can be found by accessing the config.inc.php file and checking the dositemap settings. If set to "on", sitemap is enabled. The sitemap path is located in the sitemapurl setting and can be accessed via a browser or downloaded via FTP.

Where are the settings for the mobile version of Empire CMS? Where are the settings for the mobile version of Empire CMS? Apr 17, 2024 pm 12:12 PM

The mobile settings of Empire CMS are located in the "Mobile Template" of the "Template Management" module. The specific steps include: enabling the template, selecting the application channel, editing the template content, and saving the settings.

Where can I put the empire cms template file for easy use? Where can I put the empire cms template file for easy use? Apr 17, 2024 am 07:22 AM

The ideal location for the Empire CMS template file is /e/template/default/skin/default/. Secondly, it can also be placed in /e/data/skins/ and /e/skin/. You need to pay attention to maintaining the folder structure and setting file permissions. and regular backups.

Where to find the empire cms database configuration file Where to find the empire cms database configuration file Apr 17, 2024 am 06:42 AM

The Imperial CMS database configuration file is located in the website root directory e/config/db.inc.php. It contains the following configuration information: $dbhost: database server address $dbuser: database user name $dbpass: database password $dbname: database name $dbport :Database port $dbcharset: Database character set

Where is the automatic publishing interface of Empire CMS? Where is the automatic publishing interface of Empire CMS? Apr 17, 2024 am 09:03 AM

The automatic publishing interface of Empire CMS is located at /e/api/web/postinfo.php. The usage steps are as follows: visit /e/api/web/postinfo.php address and use HTTP POST to submit the article title, column ID, category ID, author and article The content and other data interfaces will return a response in JSON format, which contains the publishing results and article ID.

Where is the imperial cms resource network template? Where is the imperial cms resource network template? Apr 17, 2024 am 10:00 AM

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

Is empire cms free? Is empire cms free? Apr 17, 2024 am 11:24 AM

Yes, Empire CMS is a free and open source content management system (CMS). It is a lightweight CMS that is feature-rich and easy to use. Empire CMS is licensed under the GNU General Public License (GPL), which means it is free to download, install and use. For commercial use, it offers a paid version that offers additional features and support such as ad management, online payments, and premium technical support.

Where is the Baidu active push plug-in for Imperial CMS? Where is the Baidu active push plug-in for Imperial CMS? Apr 17, 2024 am 11:00 AM

The imperial cms Baidu active push plug-in is located in the root directory /e/api/baidu/push.php. The specific configuration steps are as follows: 1. Upload the plug-in file to the specified path. 2. Configure the "Baidu Active Push" option in the Imperial CMS background, including push address, API Key and push interval. 3. Get Baidu push information: Push address: https://data.zz.baidu.com/urls?site=YOUR_SITE&token=YOUR_API_KEY, API Key: log in to Baidu search resource platform to obtain. 4. Update the API Key regularly and set a reasonable push interval.

See all articles