[horde] Using the dimp_messageview ; where is my value?!?!
Michael M Slusarz
slusarz at horde.org
Mon Mar 11 21:04:18 UTC 2013
Quoting Adam Tauno Williams <awilliam at whitemice.org>:
> Horde 5.0.4 IMP/Mail 6.0.4
> I'm trying to figure out how to add a custom element to the message
> display template.
> I have created a hook dimp_messageview in imp/config/hooks.php
> Since it logs a message I *know* it is being pinged every time I open a
> message to view. And I am adding an element to the $msg array and then
> returning it.
> But.... how and where do I use this? I've groused all over and can't
> find anything.
It shows up in the AJAX response (e.g. if you add a 'foo' entry, it
would be accessible within the 'imp:message' task data returned to the
code to actually use the variable.
Michael Slusarz [slusarz at horde.org]
More information about the horde