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

\phpbb\messenger->template can't find email templates in extensions

    XMLWordPrintable

Details

    Description

      When an extension tries to use email templates (ext/vendor/ext/language/en/email/template.txt) and that template is called via

      $messenger->template('template', 'en');

      you get an error (file not found) because the messenger only looks in phpBB's language folder, and not within extensions.

      It needs a way to know to look at ext/vendor/ext/*
      Something perhaps like with languages,

      $messenger->ext_template('vendor/ext', 'template', 'en');

      ?

      Attachments

        Activity

          People

            nickvergessen Joas Schilling [X] (Inactive)
            VSE Matt Friedman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: