


Detailed explanation of setting method of dedecms hidden column
"Detailed explanation of how to set up DedeCMS hidden columns, specific code examples are required"
In the process of using DedeCMS to build a website, sometimes we need to hide some columns. Site front-end display. This article will introduce in detail the setting method of DedeCMS hidden column and provide specific code examples.
1. Backend settings
First, we need to log in to the backend management system of DedeCMS. In the column management page, find the column that needs to be hidden, find the "Show in site navigation" option in the "Basic Properties" tab, and set it to "No".
2. Template file modification
Next, we need to modify the template file. The hidden columns will not be displayed in the front desk. This needs to be controlled by the template file. Find the corresponding column template file (usually located in /templets/template directory/column template file.htm
), and add the following code to the file:
<dcc:channel typeid='栏目ID' showtype='开始位置,显示数量'> // 栏目内容展示代码 </dcc:channel>
In the above code, typeid
is the ID of the hidden column, showtype
is the display mode, which can be set according to needs. After adding the above code, save the file and update the template cache.
3. Front page display
After we complete the above settings, refresh the front page and find that the hidden columns are no longer displayed in the site navigation or page.
4. Other precautions
- When modifying the template file, it is recommended to back up the original file to avoid errors that cannot be restored.
- When you need to restore a hidden column, just change the setting in the first step to "Yes" to display the column in the front desk again.
Summary: Through the above setting method, we can easily hide the columns in DedeCMS that do not need to be displayed in the front desk. I hope the above content is helpful to you, and I wish you good luck in building your website!
The above is a detailed explanation of how to set up hidden columns in DedeCMS. I hope it will be helpful to you.
The above is the detailed content of Detailed explanation of setting method of dedecms hidden column. 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

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

I believe that all the users here like to use the Douyin Live Companion software, but do you know how to set the picture and sound of the Douyin Live Companion? The following article brings you how to set the picture and sound of the Douyin Live Companion, so that you can Let’s take a look below. First, click the "gear" icon in the upper right corner to enter the settings options. Next, the editor will introduce "Image Quality Settings" and "Advanced Settings" one by one. Please see the diagram below. 2. The image quality setting function can help users adjust the image quality, bit rate, frame rate and resolution during live broadcast. The software has already adjusted the settings according to the user's own computer configuration, and in most cases there is no need to change it. , as shown in the figure below: 3. The advanced setting function has relatively more content that can be changed, including sound effect settings.

Title: How to set OPPO11 lock screen password Modern mobile phones are no longer just communication tools, but also an indispensable and important device in our daily lives. In order to protect the security of private information and data on your phone, it is crucial to set a safe and reliable lock screen password. For users of OPPO11 mobile phones, how to correctly set the lock screen password has become an essential skill. The following will introduce how to set the OPPO11 lock screen password to help you protect your phone privacy and data security. First, open the OPPO11 phone

Setting methods and precautions for MySQL composite primary key In the MySQL database, the primary key is a field or combination of fields used to uniquely identify each record in the table. In addition to setting a single field as a primary key, you can also set a combination of multiple fields as a composite primary key. This article will introduce the setting method, usage scenarios and precautions of composite primary keys in MySQL, and attach specific code examples. How to set a composite primary key: When creating a table, you can set a composite primary key through the following syntax: CREATETABLEta

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

Template replacement can be implemented in Dedecms through the following steps: modify the global.cfg file and set the required language pack. Modify the taglib.inc.php hook file and add support for language suffix template files. Create a new template file with a language suffix and modify the required content. Clear Dedecms cache.

How to upload local videos using Dedecms? Prepare the video file in a format that is supported by Dedecms. Log in to the Dedecms management backend and create a new video category. Upload video files on the video management page, fill in the relevant information and select the video category. To embed a video while editing an article, enter the file name of the uploaded video and adjust its dimensions.

1. Open the Amap APP and click [More Tools] on the [My] page. 2. Click [Handcar Internet] in the [Service] column. 3. Click [Scan] and scan the QR code on the car version of Amap to complete the connection.

Dedecms is an open source CMS that can be used to create various types of websites, including: news websites, blogs, e-commerce websites, forums and community websites, educational websites, portals, other types of websites (such as corporate websites, personal websites, photo album websites, video sharing website)
