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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-a3
    • 3.1.0-a2
    • Template Engine
    • None

      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.

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

              Created:
              Updated:
              Resolved: