2 menus on one page

General discussions about WebYep
Post Reply
Aluinet
Posts: 3
Joined: Tue Apr 21, 2009 7:40 pm

2 menus on one page

Post by Aluinet » Sun Oct 25, 2009 10:23 pm

I have put two menus on one page, however when I add things to the second menu they point to pages already used in the first menu...
I have named the menus different things but to no avail. What am I doing wrong?

code looks like this:

<div class="video">
<span class="head">VIDEO</span>
<?php webyep_menu("Video", false, "index.php", "", "", ""); // WebYepV1 ?>
</div>

<div class="performance"><span class="head">PERFORMANCE</span>
<?php webyep_menu("Performance", false, "index.php", "", "", ""); // WebYepV1 ?>
</div>

you can see the page here: http://testing.aluin.org/lucy/

johannes
Objective Development
Objective Development
Posts: 815
Joined: Fri Nov 10, 2006 4:39 pm
Contact:

Re: 2 menus on one page

Post by johannes » Tue Oct 27, 2009 10:15 am

When using two Menu Elements on one page, they must point to different pages!

To make both menus appear on both pages, you must set their "Content" attribute to "for all documents" (set the second parameter of the function call to true).

Aluinet
Posts: 3
Joined: Tue Apr 21, 2009 7:40 pm

Re: 2 menus on one page

Post by Aluinet » Wed Nov 04, 2009 3:36 pm

Ahhh, I see. very simple once you know....

Post Reply