Copied to clipboard

Flag this post as spam?

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


  • fabrice 104 posts 227 karma points
    Feb 17, 2014 @ 14:48
    fabrice
    0

    Sir Trevor + ArcheType

    Hello,

    Super great package, congratulation !!

    Do you think it's possible to add the ArcheType as block type in Sir Trevor ? That would be awesome.

    If yes, do you have a idea or a tips of how to do ?

    Many thanks.

    Fabrice

  • Marc Stöcker 104 posts 560 karma points c-trib
    Feb 18, 2014 @ 09:21
    Marc Stöcker
    0

    Thanks, Fabrice. I'm not sure, what you mean by the "ArcheType block"? You can easily add any block by adding the block's .js file to the controller's asset loading and adding it to the blockTypes array:

    https://github.com/mindrevolution/SirTrevor-for-Umbraco/blob/master/src/App_Plugins/SirTrevor/sirtrevor.controller.js

    Marc.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 18, 2014 @ 12:37
    Jeroen Breuer
    0

    Hello,

    Archetype is a very powerful package for v7. A lot of devs are already using it.

    More info: http://imulus.github.io/Archetype/

    Jeroen

  • Marc Stöcker 104 posts 560 karma points c-trib
    Feb 18, 2014 @ 23:13
    Marc Stöcker
    100

    Thanks, Jeroen. Fun thing, I added Kevins blog post on the topic to my pocket queue the other day, but never got to it. doh! :)

    Fabrice, from how I receive it, I'm not so sure if this would fit the main idea of Sir Trevor. IMHO what you seek is v2 of the CDTs now know as listview. I mean, if sub nodes could be rendered instead of as a listview in a way like the Sir Trevor editor (which focuses on more or less editorial/flow content, not primarily on data). I mean, simplicity is gone if you have field labels, mandatory and optional fields, etc. Or am I wrong?

    That said, I will have a look - perhaps there is a good way to combine them!

    Marc.

  • fabrice 104 posts 227 karma points
    Feb 19, 2014 @ 15:37
    fabrice
    0

    Hello,

    Thank you very much for your answer.

    The way I create modular pages today is by creating sub "module" nodes of a given node page.

    For example, on my page I could have :

    • a (bootstrap 3) "container" div with 2 images and a text
    • then a "container" div with a carousel
    • finally a "container" div with some list of icons and text

    Each of the below "points" would be a sub node of the "TextPage" parent node, and that I can then sort or add more as I like it.And some sub nodes will have an ArcheType property to build the list of XX (icons or images for the gallery).

    My idea was that instead of using sub nodes as module container, I would use SirTrevor which is much more user friendly than creating sub nodes.

    But I would need SirTrevor to support to add either a Document Type or an directly an ArcheType (as an ArcheType could play the role of a Document Type)

    For example, when you click on the sir trevor "+"  insteat of choosing an image or a text etc... you could select a Document Type (or ArcheType) and design your page as you like it (as long as the different module doctype are available)

    Then Umbraco wouldn't be only a Content Management System but also a Design Management System :) as you would be able to place UI module as you like in your page.

     

     

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 19, 2014 @ 15:40
    Jeroen Breuer
    0

    Sounds a bit like Mentor Web Blocks, but there is not v7 version yet.

    Jeroen

  • fabrice 104 posts 227 karma points
    Feb 19, 2014 @ 15:52
    fabrice
    0

    Yes kind of... but without the drag and drop that doesn't always works :), and I would like to keep the view that is separated from the content.

    I don't really like CMS where the editor change directly the view but I prefer like Umbraco a separation of data (backend) and view (front end). This way the editors can't do that many mistakes :)

  • Peter Duncanson 430 posts 1360 karma points c-trib
    Feb 19, 2014 @ 16:20
    Peter Duncanson
    0

    I've been playing around with something similar while learnign v7, its a content picker row for Sir Trev. I'll see if I can't get it tidied up and release it. Should really just push it into Marcs repos as a pull request :)

  • Marc Stöcker 104 posts 560 karma points c-trib
    Feb 19, 2014 @ 17:38
    Marc Stöcker
    0

    Pete - just push it on a WIP branch for now, no need to tidy up. :)

  • fabrice 104 posts 227 karma points
    Feb 19, 2014 @ 23:27
    fabrice
    0

    NIce thanks. I'll check it out.

    I'm not sure if I should put the thread as answered and which reply to put as answer... what do you think ? ;)

  • fabrice 104 posts 227 karma points
    Feb 21, 2014 @ 10:49
    fabrice
    0

    Hello,

    Ok I found what I wanted !! It's the Multiple fieldset functionality of the ArcheType !!!!

    Thanks to all

Please Sign in or register to post replies

Write your reply to:

Draft