2 different Menus on same page with different links?
Hello,
I successfully figured out how to display navigation links on the top and side of my Web site. However I cannot figure out how to point specific links to specific navigation sections.
For Example:
In my "Home" folder I have the links:
1)Contact Us
2)About Us
I want content of "Home" folder to only display on the left navigation links
In my "topNav" folder I have the links:
1)Privacy Policy
2)Terms of Use
I want the content of "topNav" folder to only display on the top navigation links.
Both navigation menus must display on all pages and all links must display on all pages. So far I can only get this to work if all the links display in both positions.
First off, I created a document type for the documents I wanted to display only in the top navigation.
For example, links to display in the left navigation were titled with the alias, "TextPages" and the links to display in the top navigation are named with the alias, "topTextPages".
I created a new navigation xlst and macro file using the following code (you will notice that my document type alias is in bold in the code below (this excludes the default header and footer in the xslt file generated by umbraco):
I then plugged the new macro I created with this code into the appropriate master page.
I found one bug in the code below, the unordered list isn't properly set up:
[quote=kflorida]I figured it out.=d>
First off, I created a document type for the documents I wanted to display only in the top navigation.
For example, links to display in the left navigation were titled with the alias, "TextPages" and the links to display in the top navigation are named with the alias, "topTextPages".
I created a new navigation xlst and macro file using the following code (you will notice that my document type alias is in bold in the code below (this excludes the default header and footer in the xslt file generated by umbraco):
I then plugged the new macro I created with this code into the appropriate master page.
[/quote]
2 different Menus on same page with different links?
Hello,
I successfully figured out how to display navigation links on the top and side of my Web site. However I cannot figure out how to point specific links to specific navigation sections.
For Example:
In my "Home" folder I have the links:
1)Contact Us
2)About Us
I want content of "Home" folder to only display on the left navigation links
In my "topNav" folder I have the links:
1)Privacy Policy
2)Terms of Use
I want the content of "topNav" folder to only display on the top navigation links.
Both navigation menus must display on all pages and all links must display on all pages. So far I can only get this to work if all the links display in both positions.
Any ideas as how to accomplish this?
I appreciate any help out there!
I figured it out.=d>
First off, I created a document type for the documents I wanted to display only in the top navigation.
For example, links to display in the left navigation were titled with the alias, "TextPages" and the links to display in the top navigation are named with the alias, "topTextPages".
I created a new navigation xlst and macro file using the following code (you will notice that my document type alias is in bold in the code below (this excludes the default header and footer in the xslt file generated by umbraco):
I then plugged the new macro I created with this code into the appropriate master page.
I found one bug in the code below, the unordered list isn't properly set up:
[quote=kflorida]I figured it out.=d>
First off, I created a document type for the documents I wanted to display only in the top navigation.
For example, links to display in the left navigation were titled with the alias, "TextPages" and the links to display in the top navigation are named with the alias, "topTextPages".
I created a new navigation xlst and macro file using the following code (you will notice that my document type alias is in bold in the code below (this excludes the default header and footer in the xslt file generated by umbraco):
I then plugged the new macro I created with this code into the appropriate master page.
[/quote]
Here is what it should look like:
is working on a reply...