Copied to clipboard

Flag this post as spam?

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


  • Barry 99 posts 187 karma points
    Oct 22, 2009 @ 22:43
    Barry
    0

    I want to have a link appear in my menu that takes you to a page that is external - I thought I could create a node (document type, "blank") and then create an instance of that "Blog" in my content tree - then set a property on it to "redirect"....can that be done? or how else could I do that?

  • Simon Justesen 436 posts 203 karma points
    Oct 22, 2009 @ 22:49
  • Kim Andersen 1447 posts 2196 karma points MVP
    Oct 22, 2009 @ 23:00
    Kim Andersen
    0

    Yeah, the umbracoredirect feature is very cool just as Simon says. But can it be used to redirect to external pages too?

    Because if one does what the wiki says, it should be a Content Picker data type, to pick a node ID. But it's not possible to choose an external URL in there

    Don't know if it will work to choose a textstring as the data type instead of the Content Picker. Haven't tried it out.

  • bob baty-barr 1180 posts 1294 karma points MVP
    Oct 23, 2009 @ 01:35
    bob baty-barr
    1

    i believe umbracoRedirect uses a node id and niceUrl to redirect... not prefectly sure...

    i have however written plenty of navigation macros that will look for a textfield property named jumpUrl and if it has a value it sets the a href to that page instead of niceUrl @id, etc.

    hope that gives a small clue into some possible nav logic for you.

Please Sign in or register to post replies

Write your reply to:

Draft