Home > CMS Tutorial > DEDECMS > How to call hidden columns in dedecms

How to call hidden columns in dedecms

藏色散人
Release: 2019-12-09 10:16:48
Original
2176 people have browsed it

How to call hidden columns in dedecms

How to call hidden columns in dedecms?

The example in this article describes the method of calling hidden columns in dedecms. Share it with everyone for your reference. The specific method is as follows:

Recommended learning: 梦Weavercms

The first case code is as follows:

The code is as follows:

{dede:sql sql='Select * from dede_arctype where ishidden=1'} 
[field:typename/] | 
{/dede:sql}
Copy after login

This code is to call out all columns with hidden attributes, regardless of whether they are top-level or not.

The code for the second case is as follows:

The code is as follows:

{dede:type typeid='7' parent='1'} 
[field:typename/] 
{/dede:type}
Copy after login

This code just calls a hidden column, and the top-level hidden column is called

The above is the detailed content of How to call hidden columns in dedecms. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template