I assume one initial step would be working out if I can configure the options for MarkupSimpleNavigation so it only returns the IDs of pages (no markup) and it returns all pages one would want the public to see, the same list one would have in a sitemap.xml.
I'll take a longer look at the options the very good documentation has to see how I might do this.
Update:
Progress, this
$options = array(
// 'parent_class' => '',
// 'current_class' => '',
// 'has_children_class' => '',
'outer_tpl' => '',
'inner_tpl' => '',
'list_tpl' => '',
'item_tpl' => '{id}',
'item_current_tpl' => '',
// 'item_current' => '{title}'
);
echo $nav->render($options);
returns only the IDs (with whitespace, dunno if that matters as regards interpreting the o/p with something like in_array(). I'll see...
Edited by alan, 14 April 2012 - 01:46 PM.













