How to hide specified information at the front desk in Imperial CMS
You 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 AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

WebStorm Mac version
Useful JavaScript development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

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