Jump to content

No template found for module leomanagewidgets


Recommended Posts

  • 1 year later...

Solution !

in the file classes/module/Module.php

Find

 

public function display($file, $template, $cacheId = null, $compileId = null)
    {
        if (($overloaded = Module::_isTemplateOverloadedStatic(basename($file, '.php'), $template)) === null)
            return Tools::displayError('No template found for module').' '.basename($file, '.php');
.
.
.

replace with

 

public function display($file, $template, $cacheId = null, $compileId = null)
    {
        if (($overloaded = Module::_isTemplateOverloadedStatic(basename($file, '.php'), $template)) === null)
            //return Tools::displayError('No template found for module').' '.basename($file, '.php');
             return "";

 

Link to comment
Share on other sites

That Tools::displayError is there for a reason, ignoring it doesn't mean that the issue isn't still there.

Search the folder leomanagewidgets and where you find it make sure it has the right owner:group and also the right permissions (for test purpose you can try 777).

If you can't find the problem contact de developer of the module.

Link to comment
Share on other sites

×
×
  • Create New...