Copied to clipboard

Flag this post as spam?

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


  • Kerri Mallinson 113 posts 497 karma points
    Aug 12, 2014 @ 16:09
    Kerri Mallinson
    0

    Fully qualified URLs

    Hi,

    Can anyone tell me how to get the full Url for the current page? I'm using v7.1.4

    Thanks

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Aug 12, 2014 @ 16:11
    Jeavon Leopold
    100

    Possibly @Model.Content.UrlWithDomain() ?

  • Kerri Mallinson 113 posts 497 karma points
    Aug 12, 2014 @ 16:19
    Kerri Mallinson
    0

    Thanks Jeavon,  Is there a list or reference doc for these helpers somewhere? it might stop me asking silly questions? :)

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Aug 12, 2014 @ 16:33
    Jeavon Leopold
    0

    No problem, the main two helpers are documented:

    UmbracoHelper

    MembershipHelper

    But this one is a extension method on IPublishedContent, which doesn't yet have full documentation (I know it's on many peoples backlogs)

    If you have Visual Studio (even the free Express edition) you can find out a lot using Intellisense, e.g. Typing Model.Content. would show you all of the properties and extension methods available on IPublishedContent.

    Jeavon

Please Sign in or register to post replies

Write your reply to:

Draft