Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i18n and childmenu
#1
Hi all,

I have been using the child plugin it worked fine but now I need to reorder the child pages under a topmenu.

To do so, I went on and installed the i18n plugin which let me organise the pages as I want to.

With the code below, I can see the topmenu on the left side :

Code:
<?php get_i18n_navigation(return_page_slug(),0,0,); ?>

However, when I change the code to :

Code:
<?php get_i18n_navigation(return_page_slug(),1,100,); ?>

The navigation menu disappears altogether.

I have been trying all sorts of combination to make the childmenus appearing and not the topmenus but without success.

Did anyone has seen this problem before?

Thanks for your help

Paps
Reply
#2
Quote:However, when I change the code to :

Code:
<?php get_i18n_navigation(return_page_slug(),1,100,); ?>

I use this in the sidebar and it works:
Code:
<div id="sidebar">
<?php
echo "<ul>";
echo get_i18n_navigation(return_page_slug(),1,99)."</ul>";
?>
</div> <!-- end #sidebar -->

take off the comma after the "100" ;=)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
Hi,

I have tried to replace
Quote:<?php get_i18n_navigation(return_page_slug(),0,0); ?>
with
Quote:<?php get_i18n_navigation(return_page_slug(),1,99); ?>
in my sidebar component but again without success. The topmenu appears fine but the childmenu never appear.

For now I stuck with the child menu plugin
Quote:<?php go_child_menu(); ?>
but the order is all wrong...

Any other idea?

Thanks for your help

Paps
Reply




Users browsing this thread: 2 Guest(s)