In plugin.php render() method, TEMPLATEPATH is used to look for a local render template however, when using child themes, this points to the parent theme.
Using STYLESHEETPATH fixes this to look in the child theme directory.
Also, it should be more clear how to use this plugin for simply iterating through all categories and displaying the images regardless of whether we are in the loop or not.
Otherwise, pretty neat plugin, exactly what I was looking for.
- The topic ‘[Plugin: Category Images II] Using STYLESHEETPATH instead of TEMPLATEPATH’ is closed to new replies.