Details
-
New Feature
-
Resolution: Fixed
-
Minor
-
4.5
-
None
-
None
-
-
Empty show more show less
Description
Translation:
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.
One could add 4 components to availableComponents, but already not display the newbar after 2 actually added components to the site.
Original:
Es wäre schön, wenn man die maximale Anzahl von Paragraphen in einer Area per config übergeben könnte.
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...
Checklists
Attachments
Issue Links
- is causing
-
MAGNOLIA-4939 maxComponents property causes editing capabilities to become disabled when max is reached
-
- Closed
-
-
MAGNOLIA-4900 Add more conditions for adding components into areas
-
- Closed
-
- is related to
-
BLOSSOM-147 Support for specifying maximum components in an area
-
- Closed
-