[imp] Template question changing Reply link to graphic?

Barry Flanagan barryf-lists at flanagan.ie
Wed Mar 1 02:48:00 PST 2006


Michael M Slusarz wrote:
> Quoting Barry Flanagan <barryf-lists at flanagan.ie>:
> 
 > <snip>
>>
>>So, can this be done just by changing the template file, or do I have to
>>edit the message.php itself, and if so, where can I find the syntax to
>>Horde::widget
> 
> 
> To change a template tag, you indeed must edit the definition of the  
> tag in message.php.  The syntax for Horde::widget() can be found here:
> http://dev.horde.org/api/framework/Horde_Framework/Horde.html#methodwidget
> 

Thanks for the reply. Surely this is counter to the whole purpose of the 
template system - separating logic from display? I was hoping to avoid 
having to hack actual logic. It's enough trouble just maintaining custom 
templates.

> You may want to use Horde::link() & Horde::img() instead to generate  
> your link.  API docs can be found here:
> http://dev.horde.org/api/framework/Horde_Framework/Horde.html
> 

Thanks, I'll look at these.

-- 

-Barry Flanagan


More information about the imp mailing list