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

Add viewtopic_url variable to a viewtopic event

    Details

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

      Description

      Amends the "core.viewtopic_assign_template_vars_before" to add the $viewtopic_url variable, which is a pain to recalculate if you need it from inside the event.

        Activity

        Hide
        omniError omniError added a comment -

        Unfortunately the base_url var isn't constructed the same way; trying to mix it together in the event wouldn't be future-proof I think.

        Show
        omniError omniError added a comment - Unfortunately the base_url var isn't constructed the same way; trying to mix it together in the event wouldn't be future-proof I think.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development