by
KK » Tue Mar 06, 2018 12:58 am
Hi,
You did not post the hierarchy of your nested-pages I requested so I'll use a generic example.
Suppose following is how your nested-pages are arranged -

- Untitled-1.png (5.86 KiB) Viewed 1810 times
Using the following code -
- Code: Select all
<cms:nested_pages masterpage='hizmetler.php' include_custom_fields='1' depth='1'>
<h2><cms:show k_nestedpage_title /></h2>
<cms:nested_pages masterpage='hizmetler.php' include_custom_fields='1' childof=k_nestedpage_name depth='1'>
<h3> -- <cms:show k_nestedpage_title /></h3>
</cms:nested_pages>
</cms:nested_pages>
- will result in the following output on the front-end

- Untitled-2.png (5.27 KiB) Viewed 1810 times
As you can see, I used <cms:nested_pages> twice - the outer loop listed only the top level pages while the inner loop then listed pages that were children of the outer loop.
I think you should be able to adapt the code to suit your use-case.
Hope it helps.