Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • rn4j0r 15 posts 85 karma points
    Mar 24, 2014 @ 19:47
    rn4j0r
    0

    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!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 24, 2014 @ 20:02
    Jan Skovgaard
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft