Hi I've had a scout around the fourms but can't seem to get this working...
Basically I've a menu where the items at level two can either be a 'textpage' or a 'FooterFolder' and I'm trying to build a menu that excludes the Footer Folder doc types.
Here's what shows everything.
<xsl:for-each select="$homeNode/* [@isDoc and @level = 2 and string(umbracoNaviHide) != '1']">
And here's what I thought would work
<xsl:for-each select="$homeNode/* [@isDoc and @level = 2 and string(umbracoNaviHide) != '1' and @nodeTypeAlias!='FooterFolder']">
I just want to know if you managed to solve the issue? could you use my suggestion, how to exclude a documenttype from your menu. Or did you find another solution to solve it?
I glad that you could use my suggestion. The reason why you didn't realise that I have posted a response, I because there have been, an issue with the mail notification when you reply a comment to a topic. I reported the bug in to the Umbraco team 2 days ago, and the bug was solved really quickly.
So thumbs up for the Umbraco team to take action quickly. :)
Exclude certain documents from Menu
Hi I've had a scout around the fourms but can't seem to get this working...
Basically I've a menu where the items at level two can either be a 'textpage' or a 'FooterFolder' and I'm trying to build a menu that excludes the Footer Folder doc types.
Here's what shows everything.
<xsl:for-each select="$homeNode/* [@isDoc and @level = 2 and string(umbracoNaviHide) != '1']">
And here's what I thought would work
<xsl:for-each select="$homeNode/* [@isDoc and @level = 2 and string(umbracoNaviHide) != '1' and @nodeTypeAlias!='FooterFolder']">
But this shows nothing on the menu using this.
Could anybody shed any light please?
Thanks,
Craig
Hi Graig
I tjink this line of XSLT should do the job for you.
/Dennis
Hi Craig,
I just want to know if you managed to solve the issue? could you use my suggestion, how to exclude a documenttype from your menu. Or did you find another solution to solve it?
/Dennis
That worked an absolute treat! (Sorry it took a while to reply, didn't realise that you'd posted a response)
Dennis, you are a star!
Thanks,
Craig
Hi Craig,
I glad that you could use my suggestion. The reason why you didn't realise that I have posted a response, I because there have been, an issue with the mail notification when you reply a comment to a topic. I reported the bug in to the Umbraco team 2 days ago, and the bug was solved really quickly.
So thumbs up for the Umbraco team to take action quickly. :)
/Dennis
is working on a reply...