[MAGNOLIA-4901] Add possibility to set maximum number of components in areas Created: 09/Jul/10 Updated: 21/Feb/14 Resolved: 22/Jan/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 4.5 |
| Fix Version/s: | 4.5.8 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Stefan Baur | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||
| Description |
|
Translation: Original: Diese Lösung wäre flexibler als z.B. das Singleton Template. Man könnte beispielsweise 4 verschiedene paragraphen zur Auswahl stellen, aber trotzdem nach zwei erfassten Paragraphen keinen weiteren mehr zulassen (newbar nicht mehr anzeigen). Auf diese Weise könnte man mit dem Standard Template/Model ganz einfach die verschiedensten Szenarien abdecken, ohne jeweils ein neues ftl alegen zu müssen und eigene Template- und Model-Klassen zu schreiben. Aus meiner (noch etwas eingeschränkten) Sicht solte sich sowohl der Implementierung- wie auch der Test-aufwand in Grenzen halten. Es stellt sich eventuell die Frage, wie oder ob man diese Funktionalität für Promos einbauen könnte. Da spielt ja die Vererbung noch mit... |
| Comments |
| Comment by Stefan Baur [ 09/Jul/10 ] |
|
I just realized, that I had to write in English. Summary: Enable the configuration of maximum Paragraphs for Areas to provide flexible functionality in templating. You would be able to configure 4 available paragraphs, but enable the author just to add 2 paragraphs (no matter wich ones). the effort should not be too big. maybe there are issues with paragraph inheritence for example in the promos area... |
| Comment by Jan Haderka [ 21/Jan/13 ] |
|
Our language for issue tracking is English. If you accept issue in German (or any other language for that matter), then you need to translate title and description to English as part of resolution of the ticket. |
| Comment by Stefan Baur [ 21/Jan/13 ] |
|
Sorry, that was my first ticket I created at magnolia a few years ago... |
| Comment by Roman Kovařík [ 21/Jan/13 ] |
|
Hello Stefan, |