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