anapaulaohayo Posted May 31, 2023 Share Posted May 31, 2023 In the smartyfront.config.inc.php file there is a comment to this effect: line 177: // fix inheritance template filename in case of includes from different cross sources between theme, modules, ... The solution can be replace these lines 177 - 181: $filename = $smarty->template_resource; if (!isset($smarty->inheritance->sourceStack[0]) || $filename === $smarty->inheritance->sourceStack[0]->resource) { $filename = $smarty->source->name; } Reblaced by: $filename = $smarty->template_resource; if ($params['mod'] || !isset($smarty->inheritance->sourceStack[0]) || $filename === $smarty->inheritance->sourceStack[0]->resource) { $filename = $smarty->source->name; } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now