Copied to clipboard

Flag this post as spam?

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


  • Yesuah 1 post 21 karma points
    Sep 03, 2009 @ 16:45
    Yesuah
    0

    Is it possible to target custom attributes from a template?

    Hello.

    Is it possible to target attributes that were created by me within a template of a page?

    I would like to create a footer that contains a snippet about the company(just a paragraph), and would like to grab this from my main page.

     

     

    I've only been using Umbraco for a week and I'm still getting my head wrapped around a few things.

    Thank you in advance.

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Sep 03, 2009 @ 16:49
    Thomas Höhler
    1

    Use recursive properties:

    <umbraco:Item field="TopMostPropertyAlias" recursive="true" runat="server"></umbraco:Item>

    the recursive parameter says that umbraco iterates through all parents of the node till this property is found and displays this

    Thomas

Please Sign in or register to post replies

Write your reply to:

Draft