What is the best way to access a list of pages within a subtopic from the default-content.tcl script?
What I would like to do is put a 'next->' link at the bottom of each content page that links to the next one. If I call 'etp::get_content_items' from *-content.tcl I get back an empty array in content_items() of course, because this is the wrong context to call it and the content pages do not have any content items as children.
I need to be able to call 'etp::get_content_items' from *-content.tcl but in the context of *-index.tcl in order to obtain a list of all children of the current page's parent node (from which I can work out the 'next->' page link).
Thanks in advance.
Richard