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

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

Apr 17, 2024 am 02:15 AM
Empire 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 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:<p>[!--newstext--]</p>
  • Replace this paragraph Delete or comment out the code: <p><!--[!--newstext--]--></p>
##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!

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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Where is the imperial cms website map? Where is the imperial cms website map? Apr 17, 2024 am 10:48 AM

Where is the imperial cms website map?

Where are the settings for the mobile version of Empire CMS? Where are the settings for the mobile version of Empire CMS? Apr 17, 2024 pm 12:12 PM

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

Where is the imperial cms resource network template? Where is the imperial cms resource network template? Apr 17, 2024 am 10:00 AM

Where is the imperial cms resource network template?

Where can I put the empire cms template file for easy use? Where can I put the empire cms template file for easy use? Apr 17, 2024 am 07:22 AM

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

Where to find the empire cms database configuration file Where to find the empire cms database configuration file Apr 17, 2024 am 06:42 AM

Where to find the empire cms database configuration file

Where is the automatic publishing interface of Empire CMS? Where is the automatic publishing interface of Empire CMS? Apr 17, 2024 am 09:03 AM

Where is the automatic publishing interface of Empire CMS?

Is empire cms free? Is empire cms free? Apr 17, 2024 am 11:24 AM

Is empire cms free?

Where is the Imperial CMS member center? Where is the Imperial CMS member center? Apr 17, 2024 am 04:45 AM

Where is the Imperial CMS member center?

See all articles