this is how we did it at get-simple.de, just for spreading the wisdomm ;=)
that's how I did it on many pages... it will only start the section-div if there is content ...
PHP Code:
<?php
if (count(return_i18n_menu_data(return_page_slug(),1,10)) > 0) {
echo '<div class="section">';
echo '<h2>sfkölafk ööds dslölöf</h2>';
echo '<ul>';
get_i18n_navigation(return_page_slug(),1,10);
echo '</ul>';
echo '</div>';
}
?>
|--
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