Home > Article > CMS Tutorial > 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}
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}
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!