Hy WB-Gurus:),
i have the following problem. I have a page called "Handbuch" below this page there are several topics an subtopics.

To print the complette Handbook (Handbuch) at once, it should be shown under Handbuch with all Topics and subtopics. For this i need some Code. I have tested the following code from a Thread:
<?php
if ($page_id) {
$db = new database();
$q = $db->query("SELECT * FROM ".TABLE_PREFIX."pages WHERE root_parent = '$page_id' ORDER BY page_id");
while ($d = $q->fetchRow()) {
$wb->page_id = $d['page_id'];
page_content();
}
} else {
page_content();
}
?>
With this code i get the topics and subtopics, but not really right. The it is not one after another like we can see the topics on left side, i think it is after the ID. I also tested the Aggregator Modul, but there is only the possibility for only Parent and Child no childs from the childs:)
Please help me?
best regards and THX a lot:)
Craxx