What you're asking can be done in several ways and it all depends how you structure and use your Umbraco installation.
I don't know how you currently generate your top-navigation. But one option could be to make a MNTP on your homepage where you select the nodes/pages you want to display in your topnavigation.
Then on a node/page you could have a field where you could enter the external link. Then in your code you could make a check to figure out if that field has been populated with a valid url. If it has then you can use the value of this field for the link. Otherwise you can render the umbraco link.
Editing 'Link to document' section on a dropdown header menu nav
There is one section of a top nav bar that instead of linking to an inner page, I would like to link to a website.
Is this possible?
Thanks in advance!
Hi there
What you're asking can be done in several ways and it all depends how you structure and use your Umbraco installation.
I don't know how you currently generate your top-navigation. But one option could be to make a MNTP on your homepage where you select the nodes/pages you want to display in your topnavigation.
Then on a node/page you could have a field where you could enter the external link. Then in your code you could make a check to figure out if that field has been populated with a valid url. If it has then you can use the value of this field for the link. Otherwise you can render the umbraco link.
Does this make sense?
/Jan
is working on a reply...