example.com/pw/repeaters/for-field-123/for-page-1456/
In pseudo code one way I could see doing it would be:
foreach(section-is-part-of-nav) {
foreach(page-in-section-is-part-of-nav) {
visible-pages-array[store-this-page-id]
}
}
Two uses I can think of are to help when building a sitemap.xml file (I've not yet looked at the sitemap.php template that ships with PW, shame on me if that solves all of this) and the other use is for allowing short-links to work, but only for normal, public pages.
Any thoughts on how this can be done will be received with great interest
PS: What's the betting this can likely be done directly with the API and I've missed something simple and obvious...













