2012-08-22, 16:27:04
we did it like this with the i18N-navigation at www.get-simple.de
in the sidebar of template.php:
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
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
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18