Uploaded image for project: 'Forum Application'
  1. Forum Application
  2. XAFORUM-239

Simplify the management of the forum entities

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2
    • Labels:
      None
    • Similar issues:

      Description

      The ForumCode.Macros document has some macros that are doing the same thing for different entities (a lot of duplicated code: #displayTopicAddForm($space) and #displayConversationAddForm()). This can be done in a single generic macro.

      Another thing to be investigated is the way the comments are added/displayed (most of the code is copied from the commentsinline.vm) and this could be simplified by including the commentsinline.vm template (but this is available only in flamingo skin) and overriding only the needed macros. Some macros that are fully copied from commentsinline.vm:
      #addCommentToThreads($comment, $commentThreads, $rootKey), #displayThread($rootKey, $commentThreads, $commentDoc).

        Attachments

          Activity

            People

            • Assignee:
              acotiuga Alex Cotiugă
              Reporter:
              acotiuga Alex Cotiugă
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: