Copied to clipboard

Flag this post as spam?

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


  • Dan White 206 posts 510 karma points c-trib
    Jul 20, 2012 @ 22:27
    Dan White
    0

    DataType - Content Rows (spin off of Embedded Content)

    Hi All, 

    I'm still fairly new to .Net and Umbraco and struggling with a couple things. I'm trying to come up with a way to empower my Editors to content layouts like adding columns. I have 100+ editors of all experience levels, so it needs to be child-proof. I've considered: Macros, Shortcodes, TinyMCE templates, Large flexible DocTypes, and plugins like Embedded Content.

    Nothing seems to fit right. Either it's not robust enough, not child-proof, or too complicated for non-savvy editors.

     

    I've never created a DataType, but here's an image of what I think it would look like:

     

    The editor's process might be as follows:

     

    1. Create new page
    2. Goto Content tab and click New Content Row then select how many columns the row should contain
    3. Below the selected number of columns are created. Each with a Content RTE and column span settings
    4. The user can proceed to create additional column rows and move the rows up and down (arrows at the top of each row)
    Obviously the template would need to do some looping over rows and columns within rows, but the end result markup for what's seen in the image would be something like this:
    <div class="row">
        <div class="column span-7 t-span-2 m-span-1">
        Column 1 content
        </div>
        <div class="column span-5 t-span-1 m-span-1">
        Column 2 content
        </div>
    </div>

     

    Any suggestions on doing this?

    If anyone has already found a better way of empowering editors to create columns I'd love to hear it. 

    Thanks,

    Dan

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 21, 2012 @ 16:08
    Jeroen Breuer
    0

    Umbraco 4.9 will have something similar: http://our.umbraco.org/contribute/releases/490/rfc/33203-Container-Document-Types. Perhaps that's what you're looking for?

    Jeroen

  • Dan White 206 posts 510 karma points c-trib
    Jul 23, 2012 @ 17:00
    Dan White
    0

    @Jeroen,

    That looks really interesting. I think if it were a datatype it'd fit my purposes. From the looks of it, that will create a new child node and URL for every record inserted. I'm just looking to seprate page content columns into individual RTEs. 

    Wonder if there's a way they could provide both options.

Please Sign in or register to post replies

Write your reply to:

Draft