Copied to clipboard

Flag this post as spam?

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


  • Michiel 30 posts 61 karma points
    Feb 04, 2014 @ 15:21
    Michiel
    0

    Umbraco 7.0.3 no more @CurrentPage.documentTypeAlias

    Just update my site to 7.0.3 via nugget. Connection string to the db was gone first of all. After I recoverd it I'm having trouble finding the documentTypeAlias of a page by using @CurrentPage.documentTypeAlias.

    Is this depricated or am I holding it wrong?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 04, 2014 @ 20:09
    Dennis Aaen
    101

    Hi Michiel,

    I have just tried setup an Umbraco 7.0.3 to see if I could reproduce your problems with using the @CurrentPage.DocumentTypeAlias, and I found out by testing that  the @CurrentPage.DocumentTypeAlias is case sensitive.

    So you have to write it like this:

    @CurrentPage.DocumentTypeAlias

    /Dennis

  • Michiel 30 posts 61 karma points
    Feb 05, 2014 @ 09:51
    Michiel
    0

    Thx, strange tho that in 7.0.1 it works both ways.

    This can be closed.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies