Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14126

Add viewtopic_topic_title_after template event

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.7-RC1
    • 3.1.6-RC1
    • Events
    • None

      There are two events in viewtopic that allow extensions to hook into the topic title (for purposes of prefixes, for example). However, there is no event for adding something AFTER the topic title. viewtopic_topic_title_append forces the extension to take on the h2 header. For extensions like the topic descriptions extension I'm writing, it's desirable to have an event after the closing </h2> tag. I'm therefore proposing an event titled viewtopic_topic_title_after.

            nicofuma nicofuma
            kinerity Kailey Truscott [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: