I have a navigation bar in which all links are grabbed from Umbraco items (entered by the user). This navigation bar needs to be displayed on all pages. I tried inserting the items into the master template, but the links are not passed down to slave nodes. So, I'm assuming I need some sort of a macro which grabs the content and displays on all pages.
How are you rendering the navigation? Are you using XSLT or Razor? And could you please post a sample of your existing code? That will make it much easier to help you :)
Also what version of Umbraco are you using? (Just curious).
I'm using umbraci 4.11.3 and I'm also using XSLT. I have a document type named leftcell, which essentially is just a static set of links that are entered by the user in a "page." This leftcell needs to appear on all pages. So I tried to use the leftcell properties as umbraco items in the master templete, but the info is not passed down to sub-templates.
If you're using an Umbraco Item to fetch the values you should be able to display this on all pages by adding the recursive attribute if I understand your question correctly.
Displaying content in all nodes
I have a navigation bar in which all links are grabbed from Umbraco items (entered by the user). This navigation bar needs to be displayed on all pages. I tried inserting the items into the master template, but the links are not passed down to slave nodes. So, I'm assuming I need some sort of a macro which grabs the content and displays on all pages.
Does anyone have any suggestions?
Hi Seena
How are you rendering the navigation? Are you using XSLT or Razor? And could you please post a sample of your existing code? That will make it much easier to help you :)
Also what version of Umbraco are you using? (Just curious).
/Jan
Hi Jan,
I'm using umbraci 4.11.3 and I'm also using XSLT. I have a document type named leftcell, which essentially is just a static set of links that are entered by the user in a "page." This leftcell needs to appear on all pages. So I tried to use the leftcell properties as umbraco items in the master templete, but the info is not passed down to sub-templates.
Your help is greately appreciated.
Hi Seena
If you're using an Umbraco Item to fetch the values you should be able to display this on all pages by adding the recursive attribute if I understand your question correctly.
Try adding this recursive="true"
Hope this helps.
/Jan
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.