Home  >  Article  >  CMS Tutorial  >  How to hide the front-end specified information database content and content location in Imperial CMS

How to hide the front-end specified information database content and content location in Imperial CMS

下次还敢
下次还敢Original
2024-04-17 03:24:12670browse

How to hide the specified information at the front desk of Empire CMS? Database content hiding: Modify the phome_ecms_infotmp table and set the checked field of the specified column to 0. Hide content location: In the background "Content Management" → "Column Management", select the corresponding column, and set "Content Location" to hidden in "Basic Settings".

How to hide the front-end specified information database content and content location in Imperial CMS

How to hide the Empire CMS front-end specified information database content and content location

1. Hide database content

  • Edit database tablephome_ecms_infotmp
  • Find the record corresponding to the column (classid) to be hidden
  • Willchecked Set the value of the field to 0
  • Save changes

2. Hide content location

  • Enter the Imperial CMS backend, click "Content Management" -> "Column Management"
  • Select the column where you want to hide the content location
  • Find "Content" in the "Basic Settings" tab Location" option
  • Set it to Hide
  • Save changes

Details:

  • Hide database content: checked The field indicates whether the content has passed the review and is displayed in the foreground. Set this to 0 to hide the content.
  • Hide content location: The content location specifies the location where the content is displayed in the foreground, such as list page, details page, etc. Setting it to hidden means the content won't appear in that location.

Note:

  • Hiding the database content will not delete the content, but only hides its display in the foreground.
  • Hiding content location does not affect the display of the content itself, it just removes it from the specified location.

The above is the detailed content of How to hide the front-end specified information database content and content location in Imperial CMS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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