Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-994

Request: New method for ThemeImpl Class: getExtraJsFiles

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • None
    • None

      In order to have the possibility to include JsFiles in the header as well as in the Body, 2 different methods getJsFiles and getExtraJsFiles (or something) would be great.

      In the Theme you could then also provide two sets of Js Files.

      At the moment its eather

      • put all JsFiles in one place or
      • Write your owncustom model class or
      • Loop twice over all javascript files and misuse conditionalComment to distinguish or
      • Address one set of javascriptfiles outside the theme through including in the prototype template (for example)

      Thanks!

        Acceptance criteria

              Unassigned Unassigned
              twinkel Stef te Winkel
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: