Support for auto-generated paragraphs in all extras columns
-----------------------------------------------------------

                 Key: MGNLSTK-582
                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-582
             Project: Magnolia Standard Templating Kit
          Issue Type: Improvement
    Affects Versions: 1.2.3
            Reporter: Nils Breunese
            Assignee: Philipp Bärfuss
         Attachments: autogeneratedparagraphs-support-for-extras-columns.tar.gz

I have implemented custom versions of the AutoGeneratedExtrasArea and 
SingletonParagraphTemplateModel classes (and added an ExtrasColumn class) so 
now we are able to configure auto-generated paragraphs for specific columns in 
the extrasArea. Currently all auto-generated paragraphs go into extras1, which 
is too limited for our current project.

For example we can now configure a template like this:

----
templateName
   extrasArea
     extrasColumns
       extras2
         autoGeneratedParagraphs
           someParagraph
             defaultValues
               someKey1: someValue1
               someKey2: someValue2
             name: someParagraph
         class: (custom).ExtrasColumn
     class: (custom).AutoGeneratedExtrasArea
     columns: 2
   modelClass: (custom).SingletonParagraphTemplateModel
----

Along the way I have also changed createMainArea, so it is not necessary to 
have an auto-generated paragraph in the main area when you want an 
auto-generated paragraph in the extrasArea.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to