Home > CMS Tutorial > Empire CMS > body text

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

silencement
Release: 2019-11-30 13:17:56
forward
2657 people have browsed it

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!

Related labels:
source:www.word666.com/cms
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template