Copied to clipboard

Flag this post as spam?

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


  • PolishPaul 11 posts 31 karma points
    Sep 06, 2011 @ 20:25
    PolishPaul
    0

    What is the purpose of the Document Type Properties?

    I just watched the video on document types but it left me with some questions:

    What is the purpose of the properties in Document Types?

    What i get from the video is that we're customizing our UI but WHY? I'm not sure i understand the purpose of these tabs and properties. For example, i added another Rich box editor to my content tab but i don't see that content appearing on the page.

    So what are they and what common scenarios would i use them in?

  • PolishPaul 11 posts 31 karma points
    Sep 06, 2011 @ 20:29
    PolishPaul
    0

    Bah! I think i got it.. i started looking at templates and saw that this is a property i can add to the template now... Am I on the right path? Please feel free to toss me a bone :)

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Sep 06, 2011 @ 20:38
    Lee Kelleher
    0

    Hi Paul,

    Yes, think you've got it.  The properties on a document-type are used to define your content. For example - let's say that you wanted an extra textbox field for a page subtitle?

    The key part, which does catch out most newcomers is how to hook up these fields in the templates.

    There is a free video about how to use your document-type properties/fields in templates: http://umbraco.com/help-and-support/video-tutorials/introduction-to-umbraco/sitebuilder-introduction/templates.aspx

    Cheers, Lee.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 06, 2011 @ 20:41
    Dirk De Grave
    0

    PolishPaul,

    Just to make things a bit more clear: document types = table, properties = table columns. So, you define document types for each type of content you'd like to present on your websites (eg a news item, a blog post, blog comment) and each of the properties expose some data about that type (news item would have a title, an author, maybe a short headline, some content)... Each of these properties are of a type (text, number, rich text editor...)

    Does that make more sense now?

     

    Cheers,

    /Dirk

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Sep 06, 2011 @ 20:48
    Lee Kelleher
    0

    Following on from Dirk - reminded me of the diagram that Matt Brailsford drew ... hope it helps?

    See Matt's blog post for more details: http://blog.mattbrailsford.com/2011/04/07/anatomy-of-an-umbraco-document/

    Cheers, Lee.

  • PolishPaul 11 posts 31 karma points
    Sep 06, 2011 @ 20:56
    PolishPaul
    0

    Wow guys, great! I love th diagram!

    I'm familiar with ASP.NET enough that this makes more and more sense. I'm getting through the videos i can find now which will probably answer some of these questions. Thank you again!

Please Sign in or register to post replies

Write your reply to:

Draft