How to hide specified information at the front desk in Imperial CMS

下次还敢
Release: 2024-04-17 02:15:24
Original
242 people have browsed it

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

[!--newstext--]

code; hide the custom field "Source" by setting its display setting to "Hide" in the field configuration ".

How to hide specified information at the front desk in Imperial CMS

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:

    [!--newstext--]

  • Replace this paragraph Delete or comment out the code:

##Hide customization Field "Source":

    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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!