Home > Article > CMS Tutorial > Summarize the method of obtaining columns of the same level in the column list template in Empire CMS
The method of obtaining columns of the same level in the column list template in empire cms
[showclasstemp]$class_r[$GLOBALS[navclassid]]['bclassid'],3, 0,0[/showclasstemp]
You must first obtain the parent column ID of the current column
The variables supported by the page template content
There are [!- -bclass.id--]
But this cannot be used in tags
So use php code to get $GLOBALS[navclassid]]['bclassid'], This array can get the parent column ID.
It is recommended to study "Empire cms tutorial".
The above is the detailed content of Summarize the method of obtaining columns of the same level in the column list template in Empire CMS. For more information, please follow other related articles on the PHP Chinese website!