The following tutorial column from Empire cms secondary development will introduce to you how to add a new special page to Imperial CMS. I hope it will be helpful to friends in need. !
Special function description of Empire CMS
(1). Empire CMS mainly has the following two types Purpose: 1. Reclassify the information under existing columns. Just like the essence posts we see in the forum, the essence content is placed in the topic for the convenience of users. This type generally uses list format. 2. Establish multiple information collections of a certain event. This type generally adopts cover style or page content style.
(2) The page mode of the Imperial CMS topic supports three methods: 1. List type: the information list is displayed in pages, and the display style is determined by the list template. It is generally used when re-categorizing column information (for example, product type is a column, product brand is a topic, etc.). 2. Cover style: The page displays thematic information with multiple labels, without paging, and the display style is determined by the cover template. Used when building multiple information collections for a certain event. 3. Page content style: The page is the same as the cover style, and the display style is determined by the page content of the topic. It is also used when establishing multiple information collections for a certain event. Compared with the cover style, the page content style is more independent and is more suitable for topics that do not change after being generated.
How to add topics in Empire CMS
The first step is to log in to the Empire CMS backend and click the Topic Management button on the left side of the column to add a topic on the far right
In the second step, fill in the topic information parameters and click to submit a topic page to add it successfully
Instructions for filling in the information for adding a topic page in Empire cms
Topic name, storage folder, page display mode, and select list template are the required settings for adding a topic. | |
Basic attributes | |
Topic name | Enter the topic name. |
Affiliated information column | Select the information column to which the topic belongs. If specified, the topic will only be displayed when adding information to this column (the corresponding topic option in the information option settings). |
Storage folder | Enter the topic storage directory. The upper directory must exist. |
Use optimization plan | Select the optimization plan used for this topic. |
File extension | Set the generated file extension. |
Bind domain name | Bind the domain name to the topic page separately, and then access it through the domain name (if not bound, please leave it blank. No need to add / after it). |
Category | Select the category to which the topic belongs to facilitate unified management and calling of topics. |
Theme thumbnail | Fill in the theme thumbnail. |
Webpage keywords | Enter the SEO keywords of the page, which will be displayed in the "Webpage keywords" section of the page. |
Topic introduction | Fill in the topic introduction. |
Sort | Set the display order when the label calls the topic (the smaller the value, the front). |
Display in the navigation | Set whether the topic is displayed in the navigation (such as: topic navigation label). |
Information can be selected | Set whether this topic is selectable when adding information. If you select No, this topic will not be displayed when adding information. |
Page settings | |
Page Settings | Select the display mode of the topic page. (Cover type, list type, page content type) For cover type, choose the cover template, for list type, choose the list template, and for content type, choose the page entry Content. |
Cover template | Cover template selected when using cover style. |
List template used | Regardless of whether the topic uses a list template or a cover template, this is a required option and also indicates the system model to which the topic belongs. (Select the white bar option in the drop-down box) |
List setting | Fill in the sorting method of the information list. |
Display the total number of records: Set the limit to the maximum number of displayed information. | |
Number of records displayed per page: The number of information displayed per page. | |
Page content | This item is used when using the page content format Page content needs to be entered (labels and cover templates are supported, and the content can be produced with Dreamweaver). |
JS related settings | |
Whether to generate JS calls | Select whether to generate JS calls for this topic. |
JS template used | Select the JS template used for JS calls. |
Latest topic JS display | JS call to display the number of the latest information. |
Popular topic JS display | JS call to display popular information Quantity. |
Recommended topic JS display | JS call to display the number of the latest recommended information. |
JS display of popular comment information | JS call to display the number of popular comment information. |
Headline information js display | JS call to display the number of the latest headline information. |
The above is the detailed content of New special page added to Empire CMS. For more information, please follow other related articles on the PHP Chinese website!