Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

ngclasslist: a datatype that stores a list of content classes

This page is for site builders who let editors choose which kinds of content a page lists. ngclasslist (Netgen Class List Datatype) lets an editor select a list of content classes and stores it on an attribute.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/6.0/extensions/ngclasslist.md

On this page

ngclasslist: a datatype that stores a list of content classes

This page is for site builders who let editors choose which kinds of content a page lists. ngclasslist (Netgen Class List Datatype) lets an editor select a list of content classes and stores it on an attribute.

Example: a category that lists chosen classes

  1. Add an attribute of type ngclasslist to the Category class, here with the identifier class_filter_array.
  2. In the category, select the classes to list.
  3. Fetch the children in the category's template with the selected classes as filter:
{def $children = fetch(
    'content', 'list',
    hash(
        'parent_node_id', $node.data_map.parent_node_id.content,
        'class_filter_type', $node.data_map.class_filter_type.content,
        'class_filter_array', $node.data_map.class_filter_array.content.class_identifiers
    )
)}

What changed

VersionDateChange
1.0.1, 1.1.131 August to 2 September 2026Package name and license in composer.json (se7enxweb); the installer is the se7enxweb installer; description updated; ezinfo.php version.
1.1.227 September 2026The extension states its version, license and website.
1.1.32 October 2026English and German translations for every string the admin showed untranslated.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x