[Solved] Menu Manager - Using childrenof and excludeprefix together

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
JM6891
Forum Members
Forum Members
Posts: 150
Joined: Thu Mar 18, 2010 2:35 pm

[Solved] Menu Manager - Using childrenof and excludeprefix together

Post by JM6891 »

Hi there,

I'm wondering if anyone can help me?

Is there a restriction on using the childrenof and excludeprefix parameters together?

I need to create a left hand menu using pages from a drop down menu, but need to exclude only one of them. I have tried using childrenof and excludeprefix together but it still displays the unwanted page.

If it's not possible to use these parameters together, does anyone have any suggestions on how I can create what I need?

Thanks in advance
Last edited by JM6891 on Tue Nov 23, 2010 11:38 am, edited 1 time in total.
JM6891
Forum Members
Forum Members
Posts: 150
Joined: Thu Mar 18, 2010 2:35 pm

Re: Menu Manager - Using childrenof and excludeprefix together

Post by JM6891 »

OK,

So, if anyone has come across the same problem as me, I have found a way to do it (albeit in a 'round the houses' fashion).

On the page I wanted to hide I added 'hide' as an extra page attribute.

I then created a new template in menu manager and called it 'Home Left Nav'.

Then, back in my new menu manager template I added the following to the list item:

{if $node->extra1!==''} class="{$node->extra1}"{/if}

Then, in the CSS declared li.hide as display:none

Hope this helps someone else who wanted to achieve the same thing.
Post Reply

Return to “Layout and Design (CSS & HTML)”