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

Template events must be sortable

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • 3.1.0-dev
    • None
    • Events, Template Engine
    • None

    Description

      In my times as a MOD-Author I received quite a few support questions "how can I move you mod above mod xyz". This shows that the admins care about it and want to be able to prioritize extensions, so they are more on the top or bottom of a given event.

      Examples are: Breadcrumb, Navigation links (next to FAQ), Statistic blocks on the index page

      An easy/simple way would be to order the extensions themselves in phpbb_ext with Customise>ACP_EXTENSION_MANAGEMENT and then order the found events in the same way.

      But the perfect solution would be to be able to sort them differently everywhere, f.e. by adding a priority to the file name of the template event, so instead of "overall_header_head_append_listener.html" we call the event files "overall_header_head_append_50_listener.html" or something like that and default to a similar value. Then the user can increase the value in order to move it up, or decrease it to move it down.

      Attachments

        Activity

          People

            CHItA CHItA
            nickvergessen Joas Schilling
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: