Hello!
The product_name can be set in the configfile with $rcmail_config['product_name']. But I want to set it in my plugin at runtime. So I added
$this->add_hook('startup', array($this, 'set_title'));
to the init() function of my plugin and the following method to the class:
function set_title($args)
{
$rcmail = rcmail::get_instance();
$rcmail->config->set('product_name', 'JustATestString');
return $args;
}
The product_name seem to be set, but it is not displayed in the title of the Browser. What do I wrong?
Thanks,
Peter