[RCU] template object configuration

john.roman at dreamhost.com john.roman at dreamhost.com
Thu Oct 4 23:20:01 CEST 2012


greetings,
i am trying to write a plugin to change the src attribute of the 
template_object_logo hook, but nothing seems to be working.


the hook being called:

                $this->add_hook('template_object_logo', array($this, 
'template_logo'));

the function:


 function template_logo($argst) {
            
                        $argst['src'] = "/images/roundcube_logo2.png";
                        $argst['alt'] = "second logo test";
                }
                return $argst;
        }



More information about the users mailing list