Home  >  Article  >  CMS Tutorial  >  How to obtain the same level columns in the empire cms column list template

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

藏色散人
藏色散人Original
2019-12-14 09:14:223068browse

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]

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']

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!

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