[horde] IMP Quota display

Pine A pinemail11 at gmail.com
Fri Sep 27 16:29:38 UTC 2013


On Mon, Sep 23, 2013 at 11:50 PM, Michael M Slusarz <slusarz at horde.org>wrote:

> Quoting Pine A <pinemail11 at gmail.com>:
>
>  I am trying to display quota on sidebar in imp.
>>
>> For this I am following code in imp/lib/dynamic/mailbox.php
>>
>> $sidebar->subinfo = $imp_imap->config->quota;
>>
>> For displaying in sidebar we are writing following code in
>> templates/sidebar/sidebar.**html.php
>>
>> <?php echo $sidebar->subinfo ?>
>>
>
> That's not going to do anything.  $imp_imap->config->quota is nothing more
> than the 'quota' config from imp/config/backends.php.
>
> To actually grab quota information from the IMAP server, you need to us
> IMP_Quota_Ui (or directly call an IMP_Quota driver).  See IMP_View_Subinfo
> for an example.
>
> michael
>
> ______________________________**_____
> Michael Slusarz [slusarz at horde.org]
>
> Hi Michael,


You are right, look like it is for showing no of mails in folders.

I am trying to display mailbox size quota.

Regards,

PineA


More information about the horde mailing list