css menu - several header bars - cannot get it working

lt635

Hi,

Thanks for you reply.  After spending many hours trying to solve this problem I just worked it out and uploaded the changes as I received your reply.  And you are right, it's in the language file.

If anybody else has a similar problem the solutions was to add $TEXT['Adventures'] = 'Adventures';
$TEXT['Links'] = 'Links'; to the language file.  It was probably just a coincident that 'menu' was already there and that was why that was showing.

Cheers
Lene

BerndJM

Hi,

mmmhhhhh...
the $TEXT['MENU'] is defined in the language file but where the hell is
$TEXT['Adventures'] and $TEXT['Links'] defined :?
I assume you want to do something like this:

<div id="nav1">
         <h4><?php echo $TEXT['MENU']; ?></h4>
          <?php show_menu(1); ?>   <br />
      </div>   

        <div id="nav2">
            <h5><?php echo 'Adventures'?></h5>
           <?php show_menu(2); ?> <br />
        </div>   

        <div id="nav3">
           <h6><?php echo 'Links'?></h6>
           <?php show_menu(3); ?>  <br />
        </div> 


Regards Bernd
In theory, there is no difference between theory and practice. But, in practice, there is.

lt635

Hi,

I am in the process of converting an existing xhtml site to website baker and I am having some issues with the menu.  The menu that I have used in the xhtml is the 'urbangreymenu' from Dynamic Drive.  The problem I am having with the template I am creating in website baker is the use of the 'headerbar' to separate sections with a heading that is not to be linked to any page.

What I have done so far is:

- in info.php I have created several menus, as I believe the only way to create these sections is multiple menus ($menu[1], $menu[2] etc).  This is working fine from the admin section, I can select the menu and the page falls in under the right section.

- in the screen.css i have created the menus with different names like nav1, nav2 and nav3.  Like I said the menu is working fine but I cannot get the 'headerbar' to work.  From what I can see there is no option to insert this in the admin section.

- in the index.php it currently looks like this:

     <div id="nav1">
          <h4><?php echo $TEXT['MENU']; ?></h4>
           <?php show_menu(1); ?>   <br />
      </div>   

        <div id="nav2"> 
            <h5><?php echo $TEXT['Adventures']; ?></h5>
            <?php show_menu(2); ?> <br />
        </div>   

        <div id="nav3"> 
           <h6><?php echo $TEXT['Links']; ?></h6>
            <?php show_menu(3); ?>  <br />
        </div> 

The h4, h5, and h6 is set as the header in each menu, I have also tried just using h4.  The first 'echo $text' works fine but none of the others.  I have tried several things both in screen.css and index.php, but no luck so far. 

I am hoping that somebody can assist me in solving this problem. I only have basic knowledge in php, so if somebody has a solution to my problem it would be very much appreciated.

The template can be found here: http://www.skylinetreks.com.au/index.php

The original site can be found here: http://www.skylinetreks.com.au/

Thank you
Lene