Home  >  Article  >  CMS Tutorial  >  Summarize the method of obtaining columns of the same level in the column list template in Empire CMS

Summarize the method of obtaining columns of the same level in the column list template in Empire CMS

silencement
silencementforward
2019-11-30 13:17:562609browse

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!

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