[
http://jira.magnolia-cms.com/browse/MGNLSTK-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=29002#action_29002
]
Stefan Baur commented on MGNLSTK-661:
-------------------------------------
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...
> maximale Anzahl von Paragraphen in den Areas konfigurierbar machen (Area.java)
> ------------------------------------------------------------------------------
>
> Key: MGNLSTK-661
> URL: http://jira.magnolia-cms.com/browse/MGNLSTK-661
> Project: Magnolia Standard Templating Kit
> Issue Type: New Feature
> Affects Versions: 1.3.1
> Reporter: Stefan Baur
> Assignee: Philipp Bärfuss
> Priority: Minor
>
> 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...
--
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: <[email protected]>
----------------------------------------------------------------