Problem with overwriting templates
-
Hi,
i’m trying to customize the plugin and i used the filter from the doc to replace the plugin template with my own.
It didn’t work, i got an empty chat, so i tried to look into the plugins files to see how the filter works and i think i saw two problems.In your filter you pass two arguments, while the filter expects one so it crashes and we can’t see it since the error_reporting is set to zero before that.
Then, in the filter, i return a full path like “c:/folder/template.php”.
In the plugin code the string is stored in a variable and used to include the template, but there’s a “$path” variable just before like this :"include($path . $template);Which makes the include path look like “C:/plugin/path/C:/theme/path/template.php”
It obviously doesn’t work.
Is it my implementation that is not correct or is there a problem with the doc/plugin ?Thanks,
Cedric
The page I need help with: [log in to see the link]
The topic ‘Problem with overwriting templates’ is closed to new replies.