For each plugin there's a title that appears above the plugin content on the main page: Quicksearch, Shoutbox, Archives, Syndicate This Blog, etc. I'd like to change this text to an image file, something like imgs/<pluginname>.jpg but I can't find where the plugin title is displayed. Is there a simple way to go about doing this?
Edit: I figured it out, somewhat. I can get images to display, but I don't think I understand how TEMPLATE_PATH works. This is the code I'm using now to get my images to display, from sidebar.tpl:
Code: Select all
{if $item.title != ""}<img src="/templates/myskin/img/{$item.title}_header.gif">{/if}
As you can see, I need to use the full site path to get it to work. How can I change this to use TEMPLATE_PATH? I tried inserting it into my code above but I got PHP errors.