Hi! I'm trying to create a menu listing my pages :)
With my limited PHP knowledge, I tried:
[code]
<?php
foreach (getPages(TRUE) as $page) {
printPageLinkURL( $page );
echo "\n";
}
?>
[/code]
but the result was:
[code]
/zenphoto/pages/Array
[/code]
repeated for as many pages as I have.
Not cool.
Basically, I'd like to know how to (or some pointers on where I could get the information) iterate through the list of pages and grab their respective URLs and depths.
Before you go and tell me I should just use printPageMenu(), I'd better tell you that there isn't an option on the "option" parameter that allows me to create a menu of the kind I'm looking for.
Thanks (in advance) for your help :)