Creating a simple site map

A very simple site map may be created using Jason Coward's getResources snippet.

Create a chunk named 'SiteMap' with this content :

<li><a href="[[~[[+id]]]]">[[+pagetitle]]</a>
  [[!getResources? &parents=`[[+id]]` &depth=`0` &showHidden=`1` &limit=`99`
                   &tpl=`SiteMap` &sortby=`pagetitle` &sortdir=`ASC` ]]

On the page that you wish to be the site map page, insert this :

[[!getResources? &parents=`0` &depth=`0` &limit=`99`
                 &tpl=`SiteMap` &sortby=`menuindex` &sortdir=`ASC` ]]

You will probably want to play with the 'showHidden' value to control if you want to show resources hidden from your menus.
You may also need to change the 'limit' value if your site has a great number of pages.