Copied to clipboard

Flag this post as spam?

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


  • Gez 2 posts 22 karma points
    Jun 18, 2010 @ 17:14
    Gez
    0

    Linking a node to an external URL

    Hi,

    I was wondering if anyone can help. We are building a site and want to link a note to an external URL and preferably give the users of the CMS the ability to do this for any further pages.

    Is there a add on that can be used for this? What is the best option here.

    Thanks for your responses in advance

    GW

  • Josh Townson 67 posts 162 karma points
    Jun 18, 2010 @ 17:37
    Josh Townson
    0

    Casey Neehouse made an external redirect package for umbraco: http://www.neehouse.com/umbraco_cms/packages/redirect.aspx which takes a string of the url you want to redirect to (I think its the same one I'm using). Give it its own document type which has a string property something like umbracoExternalRedirect and uses a template with just this macro in it, and it should work fine

    <%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %>
    <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
    <umbraco:Macro URL="[#umbracoExternalRedirect]" Alias="Redirect" runat="server"></umbraco:Macro>
    </asp:Content>
  • Thomas Egebrand Gram 63 posts 138 karma points
    Dec 30, 2011 @ 13:06
    Thomas Egebrand Gram
    0

    Lovely package!

    Sorted my problem not being able to generate external links with my dynamic menu.

    // Thomas

Please Sign in or register to post replies

Write your reply to:

Draft