[ http://jira.magnolia.info/browse/MGNLFORUM-16?page=all ]
Grégory Joseph updated MGNLFORUM-16:
------------------------------------
Description:
Currently the default forum dialogs and associated paragraph templates offer
the possibility to have a title and free text on top of each view.
It could be nice if those were interpreted by freemarker, so that the templates
themselves would not have to contain stuff like "Found X threads". The downside
is that this would bring enduser-unfriendly freemarker tags in the dialogs'
values. ("${threadCount}" would be +/- ok I guess, but this is at the moment
"${action.forumList?size}" which is less easy to understand and retype without
mistakes. Maybe we could somehow find a way to add values in the root of the
freemarker context)
see FreemarkerHelperTest.testInterpretCanBeUsedForDynamicNodeProperties() for
samples on how to achieve this.
was:
Currently the default forum dialogs and assosicated paragraph templates offer
the possibility to have a title and free text on top of each view.
It could be nice if those were interpreted by freemarker, so that the templates
themselves would not have to contain stuff like "Found X threads". The downside
is that this would bring enduser-unfriendly freemarker tags in the dialogs'
values. ("${threadCount}" would be +/- ok I guess, but this is at the moment
"${action.forumList?size}" which is less easy to understand and retype without
mistakes. Maybe we could somehow find a way to add values in the root of the
freemarker context)
see FreemarkerHelperTest.testInterpretCanBeUsedForDynamicNodeProperties() for
samples on how to achieve this.
> Dynamic titles / text in default templates
> ------------------------------------------
>
> Key: MGNLFORUM-16
> URL: http://jira.magnolia.info/browse/MGNLFORUM-16
> Project: Magnolia Forum Module
> Issue Type: Improvement
> Reporter: Grégory Joseph
> Assigned To: Grégory Joseph
> Fix For: m4
>
>
> Currently the default forum dialogs and associated paragraph templates offer
> the possibility to have a title and free text on top of each view.
> It could be nice if those were interpreted by freemarker, so that the
> templates themselves would not have to contain stuff like "Found X threads".
> The downside is that this would bring enduser-unfriendly freemarker tags in
> the dialogs' values. ("${threadCount}" would be +/- ok I guess, but this is
> at the moment "${action.forumList?size}" which is less easy to understand and
> retype without mistakes. Maybe we could somehow find a way to add values in
> the root of the freemarker context)
> see FreemarkerHelperTest.testInterpretCanBeUsedForDynamicNodeProperties() for
> samples on how to achieve this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------