Uploaded image for project: 'Forum (closed)'
  1. Forum (closed)
  2. MGNLFORUM-16

Dynamic titles / text in default templates

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1, 1.2.1
    • None
    • templates
    • None

      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.

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: