Author Topic: Show Disk Quota Figures  (Read 2857 times)

Offline gib_user

  • Newbie
  • *
  • Posts: 5
Show Disk Quota Figures
« 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Show Disk Quota Figures
« Reply #1 on: June 21, 2011, 10:32:03 AM »
You could move the quota in the skins files.

Offline gib_user

  • Newbie
  • *
  • Posts: 5
Show Disk Quota Figures
« Reply #2 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

Code: [Select]
<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; />
« Last Edit: June 24, 2011, 03:06:11 PM by rosali »

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Show Disk Quota Figures
« Reply #3 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
 
  

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Show Disk Quota Figures
« Reply #4 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.