I'm trying to display links to 'nephew' pages; i.e. sibling pages' children. The structure is like this:
When on any page, I'd like to display a list of countries and a list of cities (in a select menu) for navigation between all pages. The countries aren't a problem (using <% loop Menu(2) %>) but looping menu(3) just gives me the few sub-pages of a given country.
I've come close by using a sibling function found [url=https://github.com/mattclegg/silverstripe-doc-restructuring/blob/master/input/recipes/siblings.txt] here[/url]. This gives me a list of links, but they're listed by country, so it's a bit random looking:
Is there a way to output the list alphabetically? I'm a noob, so you may need to go in to some detail! Thanks in advance.