How to hide specified information at the front desk in Imperial CMS
Apr 17, 2024 am 02:15 AMYou can hide the Empire CMS front-end specified information by modifying the template file or configuring plug-ins/custom fields, including deleting or commenting the code in the template, or choosing to hide it in the plug-in configuration. For example, hide the article excerpt by removing or commenting out the <p>[!--newstext--]</p> code; hide the custom field "Source" by setting its display setting to "Hide" in the field configuration ".
How to hide the Imperial CMS front-end designated information
The method of hiding the Imperial CMS front-end designated information is as follows:
1. Modify the template file
- Find the template file that needs to hide information (such as: news/list.html).
- Locate the information that needs to be hidden, and delete or comment out the corresponding code.
2. Modify plug-ins/custom fields
-
For information added through plug-ins or custom fields, you can use the following steps Hide:
- Enter the Empire CMS backend-> System Settings-> Plug-in Management.
- Find the plug-in you want to hide information and click Edit.
- In the plug-in configuration page, find the display settings option and set it to hidden.
Example of hiding specific information
For example, to hide article summary:
- Open the template file: news/list.html
- Code to locate article summary:
<p>[!--newstext--]</p>
- Replace this paragraph Delete or comment out the code:
<p><!--[!--newstext--]--></p>
- Enter the Imperial CMS backend-> Content Management-> Custom Field.
- Find the "Source" field and click Edit.
- In the field configuration page, find the "Display Settings" option and set it to "Hide".
The above is the detailed content of How to hide specified information at the front desk in Imperial CMS. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Where is the imperial cms website map?

Where are the settings for the mobile version of Empire CMS?

Where is the imperial cms resource network template?

Where can I put the empire cms template file for easy use?

Where to find the empire cms database configuration file

Where is the automatic publishing interface of Empire CMS?

Where is the Imperial CMS member center?
