Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2219

Skins should be allowed to have their own macros.vm files where to put global macros

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4 M1
    • Component/s: {Unused} Rendering 1.0
    • Labels:
      None
    • Similar issues:

      Description

      Right now, the only possible thing is to define global macros in velocity.properties but only template macros.vm and a single skin's macros.vm can be specified, making it impossible to have more than 1 active skin with a macros.vm file. The solution is to have one Velocity Engine per skin (or rather per skin having a macros.vm file).

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: