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

Unable to find template - in MCP/UCP, which are added via extensions

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-a2
    • Fix Version/s: 3.1.0-a3
    • Component/s: Template Engine
    • Labels:
      None

      Description

      I added new MCP module and definded

      $this->tpl_name = 'mcp_reputation_front';


      When I try open proper tab, I get error below:

      Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "mcp_reputation_front.html" (looked into: ./styles/prosilver/template).' in .\vendor\twig\twig\lib\Twig\Loader\Filesystem.php on line 202
      Twig_Error_Loader: Unable to find template "mcp_reputation_front.html" (looked into: ./styles/prosilver/template). in .\vendor\twig\twig\lib\Twig\Loader\Filesystem.php on line 202

      It doesn't look for template files in extension folder.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                EXreaction EXreaction [X] (Inactive)
                Reporter:
                Pico88 Pico88
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: