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?
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.
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.
Redirect node..
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?
Take a look at this: http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracoredirect
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.
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.
is working on a reply...