Home >CMS Tutorial >Empire CMS >How to obtain columns of the same level using the column list template in Sharing Empire CMS

How to obtain columns of the same level using the column list template in Sharing Empire CMS

silencement
silencementforward
2019-12-02 14:51:122079browse

How to obtain columns of the same level using the column list template in Sharing Empire CMS

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

[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 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 How to obtain columns of the same level using the column list template in Sharing Empire CMS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:www.word666.com/cms. If there is any infringement, please contact admin@php.cn delete