Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: gib_user on June 21, 2011, 09:32:09 AM

Title: Show Disk Quota Figures
Post by: gib_user on June 21, 2011, 09:32:09 AM
Currently the disk quota or disk usage is only displayed when the mouse goes over the select area in the main screen.

Is there anyway that I can permanently display these figures, i.e. disk quota / disk usage.
Title: Show Disk Quota Figures
Post by: SKaero on June 21, 2011, 10:32:03 AM
You could move the quota in the skins files.
Title: Show Disk Quota Figures
Post by: gib_user on June 22, 2011, 09:39:47 AM
I have moved it in the main.html but it doesn't seem to allow 2 instances of the following code

<roundcube:if condition=&quot;env:quota&quot; />
<img id=&quot;quotaimg&quot; src=&quot;/images/quota.gif&quot; alt=&quot;&quot; />
<div id=&quot;quota&quot;>
<roundcube:object name=&quot;quotaDisplay&quot; display=&quot;image&quot; width=&quot;100&quot; height=&quot;14&quot; id=&quot;quotadisplay&quot; />
Title: Show Disk Quota Figures
Post by: bpat1434 on June 23, 2011, 05:26:24 PM
Try changing the id of the actual html element as by definition ids have to be unique to the page.

I haven't tested it though so ymmv

Sent from my SAMSUNG-SGH-I897 using Tapatalk
Title: Show Disk Quota Figures
Post by: bpat1434 on June 23, 2011, 10:03:50 PM
And of course after looking at it, you may need a plugin to do this or you'll be hacking the core of roundcube.

I've tried piecing a quick one together; however, haven't had much success.  If I could get around one problem, it wouldn't be so bad.