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?
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 :)
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.
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...)
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!
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?
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 :)
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.
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
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.
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!
is working on a reply...