Imperial CMS label template setting steps: Log in to the backend and enter "Template Management" > "Label Template". Select a label type, such as "List Label" or "Content Label". Edit the template content and modify the code. Save the template. Call the tag template in the corresponding page file, for example [empire:list id=1]. refresh cache. Tip: Different types of label templates have different code structures and functions. Please refer to the official documentation for syntax.
Empire CMS tag template settings
Empire CMS tag template is used to define the appearance of various elements in the website and functional. The setting steps are as follows:
1. Enter template management
Log in to the Imperial CMS backend management interface, click "Template Management" > "Label Template".
2. Select the tag type
On the "Tag Template" page, select the tag type you need to set in the left menu bar, such as "List Tag", "Content" Tags", "column tags", etc.
3. Edit template content
After selecting the tag type, a template list of that type of tag will appear on the right. Click the "Edit" button to enter the template editing interface.
4. Set template code
In the template editing interface, you can edit the template code as needed. Empire CMS provides a code editor that supports syntax highlighting and auto-suggestion.
5. Save the template
After editing is completed, click the "Save" button to save the changes.
6. Set template call
After the setting is completed, the label template needs to be called in the corresponding page file (such as template file, column file, etc.). For example, use the following code to call a list label template:
<code>[empire:list id=1]</code>
Where the "id" attribute specifies the ID of the label template to be called.
7. Update cache
After the template settings are completed, the cache needs to be updated for the changes to take effect. On the "Template Management" page, click the "Update All Cache" button.
Tips:
The above is the detailed content of Where to set the empire cms label template. For more information, please follow other related articles on the PHP Chinese website!