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
[Solved] Menu Manager - Using childrenof and excludeprefix together
[Solved] Menu Manager - Using childrenof and excludeprefix together
Last edited by JM6891 on Tue Nov 23, 2010 11:38 am, edited 1 time in total.
Re: Menu Manager - Using childrenof and excludeprefix together
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.
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.