Home > CMS Tutorial > Empire CMS > body text

How to obtain the same level columns in the empire cms column list template

藏色散人
Release: 2019-12-14 09:14:22
Original
3278 people have browsed it

How to obtain the same level columns in the empire cms column list template

How to get the same level columns in the empire cms column list template?

This article mainly shares with you the method of obtaining the columns of the same level in the Empire cms column list template. Friends in need can refer to the

recommendation to learn "Empire cms tutorial"

[showclasstemp]$class_r[$GLOBALS[navclassid]]['bclassid'],3,0,0[/showclasstemp]
Copy after login

You must first obtain the parent column ID of the current column

Variables supported by the page template content

There is [!--bclass.id--]

but this cannot be used in tags

so use php code Get the array

$GLOBALS[navclassid]]['bclassid']
Copy after login

to get the parent column ID

The above is the detailed content of How to obtain the same level columns in the empire cms column list template. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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