Page 1 of 1

SOLVED Menu its sub menu items. Some questions.

Posted: Fri Nov 09, 2007 7:52 am
by sarah_h
Hi,

This is the structure of pages I have in the admin:

home
things to do > golf
where to go > local hotels

Now for the web page menu, I'd like this to happen:

That the menu shows that there are sub menu items if there are any like this (the > indicates that there are sub menu items):

home
things to do > (this has got sub items)
where to go > (and so has this)

I'm using a derivative of the simple menu tpl which I've made some changes to for styling purposes, but looking through the logic for the simple menu I can't see anywhere which looks out for a sibling!

Can anyone help with this?

Re: Menu its sub menu items. Some questions.

Posted: Fri Nov 09, 2007 10:16 am
by cyberman
Please look at MenuManagers help - there's a flag for indicating children :).

Little hint:

$node->haschildren

Re: Menu its sub menu items. Some questions.

Posted: Fri Nov 09, 2007 12:18 pm
by sarah_h
Thanks, I should have seen that!! :-[