We have realized something like this in a multisite environment. We define paragraphs on one "core" module and next, if a site-module uses that paragraph, a site-editor can choose a template in a graphical tab. We have screenshot, description and title, taken directly from filesystem (but it can be easily transformed to look in JCR).
The only things we did is to dynamically transform the template to use at paragraphRenderer-time and to let the user to graphically choose a custom paragraph template, using a custom dialog. If you need I can provide some screenshot of this.. or maybe a wiki... matteo -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Boris Kraft Sent: venerdì, 7. maggio 2010 16:27 To: Magnolia User-List Subject: Re: [magnolia-user] grouping paragraphs Somehow I feel this discussion should better go to the dev-list. >From a user perspective, if they belong together why not create one banner >paragraph that has a dropdown with variants? I really don't want to decide >which banner I use before I decide that I need a banner. Being able to switch >between banner variants seems more logical - Boris On May 6, 2010, at 11:21 AM, Tobias Mattsson wrote: > Hi all, in a recent project we added paragraph categories and i'm thinking of > adding it to blossom. But maybe it could be a feature for magnolia itself. > Basically the idea is that you often have a bunch of paragraphs that belong > together or have the same purpose. Let's take a bunch of banner paragraphs > for example. If you could tag them as banners and in your template say > <cms:newBar contentNodeCollectionName="main" paragraph="tag:banner"/>. Then > adding a new paragraph and tagging it with banner would make it appear > wherever banners go. > > As for the implementation I think the best way to go about it is to implement > this is in the selectparagraphdialog. The dialog would resolve the tags > trough some manager/service -class that looks at a nodedata named tags on the > paragraphs. Maybe it could be managed by ParagraphManager. > > What do you think? Useful or useless? > > // Tobias ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
