Hi all! I am wondering if someone can point me in the right direction, I am creating a footer which has 2 sections (Support Pages, General Information Pages).
I have created the pages:
- Support
- General Information
And have then attached sub-pages to these
- Support
- Support Page 1
- Support Page 2
- Support Page 3
- Support Page 1
- General Information
- General Info Page 1
- General Info Page 2
etc
In my navigation html I need to do the following:
- General Info Page 1
List all pages under the main support page
List all pages under the main general page
Could someone point me in the right direction! I believe what I am looking for is something along the lines of:
{foreach from=$items item="page" root="id"}
my own code here
{/foreach}
but what should the foreach line look like = what is the variable (I used "root" as an example of something that I thought it may be)
Thanks for your help everyone!