Hi guys,
couch is driving me crazy. I can't get it to output the submenu of a specific menu-item.
I have a simple index.php which is setup as a cloneable, nested-page template. My menu hierarchy uses two levels. Now I'm trying to display the submenu of the first-level page with id=6 and name="schwerpunkte". I have verified that both id and name are correct. Whenever I try to fetch its children however, depending on what method I try, I either get all pages of the whole index.php, no pages at all, or the right amount of pages (number of subpages of this menu point) but no links and page-names. It's driving me nuts.
This is what I'm currently at, since I want to use this code on a different template which is masqueraded in the index.php:
I have tried using pages-tag as well but with frustrating results. What am I missing?
Thank you very much for your help and
kind regards,
madtrigger
couch is driving me crazy. I can't get it to output the submenu of a specific menu-item.
I have a simple index.php which is setup as a cloneable, nested-page template. My menu hierarchy uses two levels. Now I'm trying to display the submenu of the first-level page with id=6 and name="schwerpunkte". I have verified that both id and name are correct. Whenever I try to fetch its children however, depending on what method I try, I either get all pages of the whole index.php, no pages at all, or the right amount of pages (number of subpages of this menu point) but no links and page-names. It's driving me nuts.
This is what I'm currently at, since I want to use this code on a different template which is masqueraded in the index.php:
- Code: Select all
<ul>
<cms:nested_pages masterpage='index.php' childof='schwerpunkte' depth='1' >
<li><a href="<cms:show k_page_link />"><cms:show k_page_title /></a></li>
</cms:nested_pages>
</ul>
I have tried using pages-tag as well but with frustrating results. What am I missing?
Thank you very much for your help and
kind regards,
madtrigger