SectionHeader and menu Topic is solved

General project discussion. NOT for help questions.
Post Reply
food

SectionHeader and menu

Post by food »

Hi,

I am designing a website which uses 2 level of navigations. 
Content Type  SectionHeader are in Level 1 and
Content Type Content pages are in Level2.

I was using simple_navigation.tpl in the menu.

When none of Section's children was selected, simple_navigation.tpl generates
    Section         

If anyone one of Section's child was selected  the template output code:
      Section
this makes Section "clickable". Is there an ERROR in simple_navigation.tpl? 
See more detailed description of the situation below.

Anyway would what I described here considered a BUG in simple_navigation.tpl

Thank you

1 Section1
  1.1 menu_a
  1.2 menu_b
  1.3 menu_c
2 Section2
  2.1 menu_d
  2.2 menu_e
  2.3 menu_f
3 Section3
  3.1 menu_g
  3.2 menu_h
  3.3 menu_i



The menu code generated with no menu_? selected.


    Section1
   
      menu_a
      menu_b
      menu_c
     
     
      Section2
     
      menu_d
      menu_e
      menu_f
     
      Section3
     
      menu_g
      menu_h
      menu_i
     



Code generated when one of the child of the sectionheader is selected:


      Section1     
      menu_a
      menu_b
      menu_c
     
     
      Section2
     
      menu_d
      menu_e
      menu_f
     
      Section3
     
      menu_g
      menu_h
      menu_i
     
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: SectionHeader and menu

Post by Dr.CSS »

Not really a bug, just the way the default simple_navigation.tpl works, if you aren't going to have any second level parents you can customize the menu to not have that call...
Post Reply

Return to “General Discussion”