2011-07-02, 03:58:09
grs84pl Wrote:If
php get_i18n_navigation('index',0,9,I18N_SHOW_MENU);
shows all pages from level 0 to 10, so that does mean that:
get_i18n_navigation('index',1,9,I18N_SHOW_MENU);
should show the sam pages like function above, but without level 0.
But You know what ? It does not!! it shows nothin.
Of course not.
For the navigation the pages form a tree (with an invisible root node) - or, if you like it better - a folder structure like on your computer. At any time you can see the contents of one "folder" and - if you want - all sub "folders" (pages).
But you will never be able to see the contents of two sibling "folders" at the same time (without seeing their common parent "folder".
If you want to see two sibling folders on your computer at the same time, you have to open two file explorers. In the same way, for the navigation you have to have two get_i18n_navigation calls.
You have to organize your pages as you want to see them in the navigation, not organize them in a "group similar pages together" kind of way and then try to show them in another way.