Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13508

Support using INCLUDEJS and INCLUDECSS in twig template format

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.6-RC1
    • 3.2.0-dev
    • Template Engine
    • None

      If we want to keep the INCLUDEJS and INCLUDECSS functionality in the future, then we should be looking into transforming these to Twig syntax as well (so we can get rid of the old template syntax completely in the end).

      I propose simply use the Twig include syntax: http://twig.sensiolabs.org/doc/tags/include.html

      Something like:

      {% includejs('@paybas_testext/scripts.js') %}

            Marc Marc
            PayBas PayBas [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: