Copied to clipboard

Flag this post as spam?

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


  • Mark 4 posts 24 karma points
    Sep 25, 2013 @ 18:55
    Mark
    0

    Place current node id into anchor link

    Hi, I would like to know how to put the current node id into a link on the page.

    I know I can use the Insert/Edit Link button to link to an existing document, which produces:

    [a href="/ { locallink : 1234 }"]

    (Minus the extra spaces.) But I need to pass the current node id in this style:

    [a href=www.website.com/page?node=1234]

    How would I get the 1234?

    Because I'm editing content, Razor doesn't seem to work.

    Using Umbraco 6. Thank you.

Please Sign in or register to post replies

Write your reply to:

Draft