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

Add template event at the end of the file

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3-RC1
    • Component/s: Events
    • Labels:
      None

      Description

      Currently build-in JS scripts (forum_fn.js, ajax.js and plupload stuff) are being included using INCLUDEJS which makes them to be loaded in the $SCRIPTS template var.
      As scripts are loaded in $SCRIPTS randomly, ext authors can't control this order to put their JS scripts after the build-in ones to be able to communicate to them when the page is loading (f.e. to plupload), like redefine some functions, modify vars etc.
      As such, we can add the lowermost template event for ext authors to be able to handle this case in some way.

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              rxu rxu
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: