Page 1 of 1

{NAV_ROW} Submenus not showing

Posted: Tue 11. May 2004, 16:36
by Haaid
I have used the {NAV_ROW:0:0} tag to build my menu. To have it look a bit like I wanted my site to look, I have gotten help from a forum member here to redefine the menu in conf.template_default.inc.php (in include/inc_conf/) to this:

Code: Select all

// row based navigation
$template_default["nav_row"]["before"]            = '<div class="menu">';
$template_default["nav_row"]["after"]            = '</div>';
$template_default["nav_row"]["between"]            = "\n"; //is gewoon een newline (de code wat leesbaar houden)
$template_default["nav_row"]["link_before"]         = '<div class="miexpanded">';
$template_default["nav_row"]["link_after"]         = '</div>';
$template_default["nav_row"]["link_before_active"]   = '<div class="miselected">';
$template_default["nav_row"]["link_after_active"]   = '</div>'; 
The site actually looks the way i want now... but...
It does not want to show submenu items as they appear in the site structure. I have created one just to test but it does not show up anywhere. Is there a way to fix this?
site under construction at: http://www.vub.ac.be/SROM/index.php

cheers,

K.

Posted: Thu 13. May 2004, 06:55
by Oliver Georgi
the {NAV_ROW} is not able to handle submenus - only 1 level possible.

I will enhance the sitemap function.

Oliver