Current menu ID. How to display it

maxxis

Just figured it out also.

Thanks so much for the help.

I found $wb->page['menu']; to do the trick

aldus

You can get this info from the $wb-object, e.g.

<?php

if ($wb->menu_number === 3) echo "call number 3";

?>



Regards
Aldus

maxxis

Thanks

That will give me all the variable yes but how do I detect the menu id of the current page?

Luisehahne

include the info.php in your template. Thebn you have access to the variables

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

maxxis

Hi guys

Is there a way to display the menu id of the current page that you are on?

For example in info.php I have menu[3] defined as "support"

How do I detect that 3 in the template?

Is this possible?

I really need a way to do it otherwise Im screwed on the whole menu system. :mrgreen: