{NAV_ROW} Submenus not showing

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Haaid
Posts: 18
Joined: Sun 18. Apr 2004, 15:23
Location: Brissels, Belgium

{NAV_ROW} Submenus not showing

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9928
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

the {NAV_ROW} is not able to handle submenus - only 1 level possible.

I will enhance the sitemap function.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply