Hey all, is there a way to add your own HTML head items to webpage output through a plugin? Specifically, i need to add a meta tag.
Doesn’t look like it, but maybe I’m overlooking something,
Cor
On 05 Jun 2015, at 09:13, Phil Weir roundcube@tehinterweb.co.uk wrote:
Doesn't look like it, but maybe I'm overlooking something,
In rcmail_output_html there is a function add_header which I think does what you need. You can get to it from a plugin by doing this
$this->api->output->add_header('<meta..... >');
Ah cool thanks! Got roundcube working as a homescreen app in IOS/Android, which gets rid of the url bar etc. Gives you some extra screen real estate on smaller screens.
Cor