Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sidebar to show for sub pages for each page?
#12
we did it like this with the i18N-navigation at www.get-simple.de

in the sidebar of template.php:

Code:
<?php
if (count(return_i18n_menu_data(return_page_slug(),1,10)) > 0) {

  echo '<div class="section">';
  echo '<h2>Unterseiten</h2>';
  echo '<ul>';
  get_i18n_navigation(return_page_slug(),1,10);
  echo '</ul>';
  echo '</div>';

}
?>

it is explained here: http://www.get-simple.de/anwendung/gs-ti...avigation/

and it shows a h2-header and the submenu only of there are sub-pages
|--

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


Messages In This Thread
Sidebar to show for sub pages for each page? - by Connie - 2012-08-22, 16:27:04



Users browsing this thread: 2 Guest(s)