Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13508

Support using INCLUDEJS and INCLUDECSS in twig template format

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.2.0-dev
    • 3.3.6-RC1
    • Template Engine
    • None

    Description

      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') %}

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: