On Thu, 9 Jul 2009 10:04:09 +0200, Thomas Bruederli <[email protected]> Thanks!
Is the template name passed withing the args to be able to easy detect which template was rendered? Regards, Roland wrote: > On Sun, Jul 5, 2009 at 14:43, Cor Bosman<[email protected]> wrote: >> >>> As Phil already mentioned, there's $RCMAIL->output->add_footer() and >>> ->add_header() which can be used to insert content to the page head >>> and body section. I'm not sure if we really need a plugin hook that >>> does the same. >> >> It's not quite the same. What people are asking are hooks to add to >> container and object elements in the templates. Both before and after. > > OK, I've just added the hook 'render_page' which is triggered right > after the template was parsed. See > http://trac.roundcube.net/wiki/Plugin_Hooks#render_page for details. > If you think a 'before_render_page' hook is necessary we can add that > too. > > ~Thomas > _______________________________________________ > List info: http://lists.roundcube.net/dev/ _______________________________________________ List info: http://lists.roundcube.net/dev/
