[MGNLSTK-582] Support for auto-generated paragraphs in all extras columns Created: 10/Feb/10  Updated: 04/Nov/15  Resolved: 04/Nov/15

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 1.2.3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Nils Breunese Assignee: Philipp Bärfuss
Resolution: Won't Do Votes: 1
Labels: vpro
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File autogeneratedparagraphs-support-for-extras-columns.tar.gz    
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Date of First Response:

 Description   

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.



 Comments   
Comment by Michael Mühlebach [ 04/Nov/15 ]

Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.

Generated at Mon Feb 12 07:28:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.