Copied to clipboard

Flag this post as spam?

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


  • Andreas Kaltenhuber 107 posts 286 karma points
    Apr 10, 2012 @ 14:48
    Andreas Kaltenhuber
    0

    Template/DocType Design "row by row"

    Hi,

    i have to implement a screendesign where i have a few pages and every page is seperated into sections (divs) with different content types (slideshow, 3 cols, 2 cols, headline, text, newsletter signup ...). a good example for this is http://get.wunderkit.com/

    every page should be like an "generic" template where the content editors can add different page sections.

    how do you design this in umbraco? normally i have doctypes for "complete" pages, but in this case this makes no sense.

    my first idea was to make a doctype "page" and as allowed child doctypes i make own doctypes for each content type i do implement.

    so my a typical page would look something like:

    PAGE
    - Headline
    - Text
    - Subheadline
    - Slideshow
    - 3 Cols
    - Newsletter
    - 2 Cols
    - Text

    I can write a razor script that i insert on PAGE which queries all child nodes an then displays the content of the child nodes depending on the doctype of the child node

    i don't know if this is an good idea depending on speed and caching?

    looking forward on your ideas and thoughts

    thx in advance for your help,

    Andreas

    PS: Umbraco 4.7.1, Razor

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft