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

Support using INCLUDEJS and INCLUDECSS in twig template format

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-dev
    • Fix Version/s: 3.3.6-RC1
    • Component/s: Template Engine
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: