Home>Article>CMS Tutorial> How to add topics in Empire CMS
1. The page mode of the Empire CMS topic supports three methods:
1. List type: the information list is displayed in pages, and the display style is: List template determines. 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.
2. Add a topic
1. Log in to the backend, click the "Column" menu, select the "Manage Topic" submenu, and enter the topic management interface:
2. Enter the management topic interface:
#3. Click the "Add Topic" button from the management topic page to enter the Add Topic The interface is as shown below:
##Topic name, storage folder, page Display mode and select list template are required settings for adding topics. | |
Basic attributes | |
Enter the topic name. | |
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).|
Enter the topic storage directory. The "upper directory" must be an existing directory. | |
Select the optimization plan used for this topic. | |
Set the generated file extension. | |
Bind a 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) . | |
Select the category to which the topic belongs to facilitate unified management and calling of topics. | |
Fill in the theme thumbnail. | |
Enter the SEO keywords of the page, which will be displayed in the "Webpage keywords" section of the page. | |
Fill in the topic introduction. | |
Set the display order when the label calls the topic (the smaller the value, the front). | |
Set whether the topic is displayed in the navigation (eg: topic navigation label). | |
Set whether this topic is selectable when adding information. If you select No, this topic will not be displayed when adding information. | |
Select the topic page Display mode. (Cover style, list style, page content style) | For cover style, you need to select a cover template, for list style, you need to select a list template, and for content style, you need to enter the page content.|
Cover template | The cover template selected when using the cover style. |
List template used | 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:Number of information displayed per page. | |
Page content | When using the page content method, this item needs to enter the page content (supports label and cover templates, and the content can be produced with Dreamweaver). |
JS related settings | |
Whether to generate JS calls | Select whether to generate JS for this topic transfer. |
JS template used | Select the JS template used for JS calls. |
Latest topic JS display | JS call displays the number of the latest information. |
JS display of popular topics | JS call displays the number of popular information. |
Recommended topic JS display | JS call displays the number of the latest recommended information. |
JS display of popular comment information | JS call displays the number of popular comment information. |
Headline information js display | JS call displays the number of the latest headline information. |
Recommended:Empire cms website building tutorial
The above is the detailed content of How to add topics in Empire CMS. For more information, please follow other related articles on the PHP Chinese website!