Contao Open Source CMS > Enhance > Extension list > [parentslist] parent list in tl_page 1.1.1 stable

Extensions > parentslist

[parentslist] parent list in tl_page

Create a list of parent and child ids in new fields in table tl_page

IMPORTNAT NOTE:
This extension is still not stable. Please delete and install it again instead of making updates go get clean databse fields. Thanks!

This extension can be used for other extensions. It is for other developers and should not be installed without a dependency.

Two new fields are added to tabel tl_page: parents and rootId. They offer direct and fast access to all parents, grandparents, etc. and the root object for this page.

The field rootId stores the ID of the root object for this page. It allows direct access to that root object with one single SQL selection.

The field parents stores a comma separated list of the parent, the grandparent, ... up to the root object.Using this list you can use one single SQL select to get them all instead of recursively search through the database.
Example: select * from tl_page where id in (27,5,2);

The field childrens stores a list of all children, their children, etc. in a comma seperated list.

To reset all values, please delete the columns parents and rootId from table tl_page löschen an then copy runonce.php from /sytem/modules/partentslist to /system.

Version1.1.1 stableTypeFree
Release date2011-02-05CategoryOther
LicenseLGPL
Copyright© 2011 Jan Theofel, Tristan Lins, 2010-2011 ETES GmbH
AuthorJan Theofel (jan.theofel) http://www.theofel.de/
Release notes and change log for 1.1.1 stableOther versions

- Bugfix in runonce
- Better runonce logic for Contao 2.9 (universal runonce avoids conflicts) and Contao 2.10

1.0.0 beta1
1.0.0 rc1
1.0.0 rc2
1.0.0 stable
1.1.0 stable
Release downloads48Total downloads112
Release installs1978Total installs4174
Release updates584Total updates1146
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.8.2 stable2.11.2 stable
NameVersion fromVersion to
Favicon1.4.0 stable1.4.0 stable
PackageSizeDate
Contao_parentslist_10010019_6.zip87522012-04-04 22:40