Copied to clipboard

Flag this post as spam?

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

  • Jonathan Cohen 40 posts 115 karma points
    Sep 28, 2011 @ 20:47
    Jonathan Cohen

    Convert from a parent style doctype?


    First thanx for a very nice lite package, should realy be in the next version of Umbraco.

    One question, I have today a site where we have a structure like this on our doctypes.

    - 2col
    -- NewsPage

    On the PageBase doctype we have a SEO, Generic tab with properties
    And on the 2col and 3col we have widget tabs handling 2 or 3 columns of content.

    The other pages only have the properties that are specific for them, now the problem.

    This would be great to have mixins like SEO, Generic, Widget and flatten the structure of our doctypes, but how can I convert this without loosing data on the pages and then also move the doctypes from their parents?

    Then new structure would be much nicer, only:


    Any ideas?

    Thanks in advance


  • Matt Brailsford 3754 posts 19799 karma points MVP 9x c-trib
    Sep 29, 2011 @ 08:42
    Matt Brailsford

    Hi Jonathan,

    That is a tricky one. I did write a package for swapping doc types around (Doc Type Extensions) which you could try though some people have reported issues that I've not had chance to look at yet. My best advice would be to take a backup before trying it.

    Other than that, there isn't a great deal you can do with an existing structure, as documents aren't meant to allow swapping of their doc types. That said, there is nothing to stop you using DocType mixins in combination with inherited doc types.

    Many thanks


Please Sign in or register to post replies

Write your reply to: