SOLVED Menu its sub menu items. Some questions.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

SOLVED Menu its sub menu items. Some questions.

Post 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?
Last edited by sarah_h on Fri Nov 09, 2007 12:19 pm, edited 1 time in total.
cyberman

Re: Menu its sub menu items. Some questions.

Post by cyberman »

Please look at MenuManagers help - there's a flag for indicating children :).

Little hint:

$node->haschildren
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

Re: Menu its sub menu items. Some questions.

Post by sarah_h »

Thanks, I should have seen that!! :-[
Post Reply

Return to “CMSMS Core”