Copied to clipboard

Flag this post as spam?

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


  • MrBilde 13 posts 33 karma points
    Oct 14, 2011 @ 13:20
    MrBilde
    0

    Field item out of scope?

    Hi, I'm new to umbraco and have stumbled upon a problem:

    I want to use a richtext editor for my footer content, on the Master page. I'm getting the content like this:

    <umbraco:Item field="umbFooterContent" runat="server" />

    I've added the richtext editor as a document type "umbFooterContent" on "Index", so i can be inherited:

    Templates:
    Master
    - Page
    - Index
       - dk
       - de

    Document types
    Index
     - dk
     - de
    Page

    Is my "umbFooterContent" out of scope since I don't get any content? Could I possibly make an xslt macro instead to get the content and not being out of scope?

    Thanks!

  • Rodion Novoselov 694 posts 859 karma points
    Oct 14, 2011 @ 13:29
    Rodion Novoselov
    0

    Hi. Usually the 'recursive=true' attribute of umbraco:Item is what is needed.

  • MrBilde 13 posts 33 karma points
    Oct 14, 2011 @ 13:37
    MrBilde
    0

    Thanks, that did the trick :-)

  • 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