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

Template include asset doesn't follow namespace lookup order

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Template Engine
    • Labels:
      None

      Description

      The namespace lookup order isn't followed when files are included with includeasset (includejs/includecss).

      This causes an issue in events:
      event foo
      includejs foobar.js

      Looks in the phpBB style template directory (e.g. styles/prosilver/template/) rather than the extension's directory (e.g. ext/foo/bar/styles/prosilver/template/).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: