Use something like this: `printPageMenu("list", "", "menu-active", "submenu", "menu-active", NULL, 2)` The last parameter (in this case 2) sets the depth of sub-pages.
Do you mean a menu like fretzl assumes or a page nav with previous/next? Such a prev/next pagenav only exists for Zenpage news articles but not for Zenpage pages.
But you can display the direct sub pages on a Zenpage page using the `next_page()` loop that works similar like the `next_album` loop.
@acrylan I already use the printPageMenu for for link to differents pages. my idea is to make a zenPage like a (little) book: MyPage subpage 1 ... subpage n endMyPage
on the model of an Album: MyAlbum [image 1, .., image n] endMyAlbum
or News categories: MyCategorie [news 1,.., news n] endMyCategorie
Ok, so more a table of content then? That the pagemenu can do or use the function we suggested.
The `next_page()` loop does the same as `printSubPageExcerpt()` that fretzl suggested but leaves full freedom to the html structure printed and you can of course print the full page content as well. You need to edit the theme page in any case.
Comments
`printPageMenu("list", "", "menu-active", "submenu", "menu-active", NULL, 2)`
The last parameter (in this case 2) sets the depth of sub-pages.
But you can display the direct sub pages on a Zenpage page using the `next_page()` loop that works similar like the `next_album` loop.
I already use the printPageMenu for for link to differents pages.
my idea is to make a zenPage like a (little) book:
MyPage
subpage 1
...
subpage n
endMyPage
on the model of an Album:
MyAlbum [image 1, .., image n] endMyAlbum
or News categories:
MyCategorie [news 1,.., news n] endMyCategorie
merci `je suis CHARLIE`
http://www.zenphoto.org/documentation/plugins/zenpage/_zp-extensions---zenpage---zenpage-template-functions.php.html#functionprintSubPagesExcerpts
The `next_page()` loop does the same as `printSubPageExcerpt()` that fretzl suggested but leaves full freedom to the html structure printed and you can of course print the full page content as well. You need to edit the theme page in any case.
otherwise, i will modify the code of my pages or use the jquery-UI tabs (not the best)
rb