[RCD] Plugin Template hooks

Thomas Bruederli roundcube at gmail.com
Thu Jul 9 11:56:19 CEST 2009


On Thu, Jul 9, 2009 at 10:55, Cor Bosman<cor at xs4all.nl> wrote:
> Hi Thomas, im not certain the patch you added in 2727 is what people were
> asking for. I was under the impression what they wanted is to be able to add
> to existing <roundcube:container name="XXX"> and <roundcube:object
> name="YYY"> elements.  So if a template defines a container that builds say
> a message list, they could add to the bottom of that container. Or actually,
> maybe people want/can use both..

I see. There's also the 'template_container' hook which is internally
used and is now documented on
http://trac.roundcube.net/wiki/Plugin_Hooks#template_container

> So, maybe we can use 3 types of hook:
>
> 1) add to the end of a page (footer)

Isn't this the same as in r2727?

> 2) add to the end of a template (patch 2727)
> 3) add to the end (and beginning?) of container/object elements.

Can be done using the 'template_container' hook.

~Thomas
_______________________________________________
List info: http://lists.roundcube.net/dev/



More information about the Dev mailing list