Forum: Radiant CMS Using an external link with r:navigation

Posted by Alex Wayne (squeegy)
on 2008-07-13 01:25
My client wants a link in their nav that is outbound.  I have their nav
setup through the <r:navigation> tag, but there is a problem using
absolute URLs

  <r:navigation urls="About: /about | Foo: http://foo.com">

This generates a link that does go to the right place, but the display
text is:

  "Foo: http"

Is there a trick to getting this to work right? or is this just not
something this tag supports right now?
Posted by Sean Cribbs (seancribbs)
on 2008-07-13 16:28
(Received via mailing list)
Alex,

Yes, it is unsupported.  Since that item will never be selected,
however, you could make it its own link sitting by itself.  I know
that's not the ideal solution, but I've done it several times in
different circumstances.  Depending on the order of your URLs, you may
have to break it into two <r:navigation> tags.

Sean
Posted by Russ Brooks (iq-9)
on 2010-04-18 02:06
Decimal-Entity Notation worked for me:

<r:navigation urls="Home: /|Photographs: 
http&#58;//www.externalsite.com">

A double slash seems to work too:

<r:navigation urls="Home: /|Photographs: //www.externalsite.com">

But it shows up in the HTML that way, it's not very standard, and I 
didn't test it in all browsers.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.