Hi All,

I'm trying to modify mailbox view to show in the subbar the email address of the user (here it's also the username) as it is shown in the portal page, but keeping the quota information. It calls the subinfo function so I tried to modify Subinfo.php adding a new field to the array, but without success.

This is what I tried (among others changes):

    public function __construct(array $config = array())
    {
        $config['templatePath'] = IMP_TEMPLATES . '/basic';
        parent::__construct($config);

        $quotadata = $GLOBALS['injector']->getInstance('IMP_Quota_Ui')->quota(isset($config['mailbox']) ? $config['mailbox'] : null, true);
        if (!empty($quotadata)) {
            $this->quotaClass = $quotadata['class'];
            $this->quotaText = $quotadata['message'];

>>>>    $this->value = $config['mailbox'];

        }
    }

Do you know how can I easily show the email address at the subbar?

Thanks for all

--
*Gonzalo Palacios Goicolea*

/Tecnologías de la Información/
Universidad Autónoma de Madrid • Campus de Cantoblanco

Antes de imprimir este correo piense si es necesario. Cuidemos el medioambiente.

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to