Copied to clipboard

Flag this post as spam?

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


  • Anthony Candaele 1197 posts 2049 karma points
    Jan 10, 2011 @ 10:24
    Anthony Candaele
    0

    implementing a Master Content Type

    Hi,

    I'm implementing the News functionality as implemented in the Business Website Starter Pack developed by Dan Drayne:

    http://our.umbraco.org/projects/starter-kits/business-website-starter-pack

    In this starter pack, Dan has implemented the News Area and News Item content type as children of the Textpage content type.

    The Generic Properties tab of the News Area and News Item content types states:

    "This content type uses * Textpage as Master Content Type. Properties from Master Content Types are not shown and can only be edited on the Master Content Type itself."

    How can I create this Master Content Types? I have include a screenshot from the Business Website Starter Pack:

    Thanks for your help,

    Anthony Candaele,

    Belgium

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 10, 2011 @ 10:38
    Jan Skovgaard
    0

    Hi Anthony

    To create a master document type you just create a document type as you normally would. You can call it "ContentMaster" or whatever makes sense and then you create another document type - in the dialogue you simply just choose, which document type this document type should inherit it settings from.

    When it's created and you click on it you will see the text automatically appears.

    In Juno it's also possible to add extra fields on a master property.

    If you for instance know that you'll have a tab called "content" and on alle your pages you will need a textfield for headers you can defines this on the master document type. As it is now you're not able to add anything to the content tab on the inherited document types...so if you for instance know that you need to have a rich text field on you "textpage" document type and you would like to add it to the "content" tab, which is defined on the parent you can't do it in 4.5.2 - but in 4.6 you can! :-) (this is just some bonus info :-))

    /Jan

  • Anthony Candaele 1197 posts 2049 karma points
    Jan 10, 2011 @ 11:03
    Anthony Candaele
    0

    Hi Jan,

    Thanks for the information, I was able to create two document types under the Textpage document type.

    greetings,

    Anthony

Please Sign in or register to post replies

Write your reply to:

Draft