Author Topic: Compact/Expunge Button  (Read 4851 times)

Offline grpprod

  • Full Member
  • ***
  • Posts: 53
Compact/Expunge Button
« on: November 13, 2010, 01:08:25 AM »
Hi,

I was wondering if someone has implemented a more intuitive 'Compact' button to include to the main toolbar instead of having to use the small red icon under the folder list. It is not practical, and many users do not use our webmail just for this reason (they don't know how to purge deleted messages)

any help would be greatly appreciated

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Compact/Expunge Button
« Reply #1 on: November 13, 2010, 01:44:42 AM »
You could change the skin file to move it to the main toolbar if you wanted.

Offline grpprod

  • Full Member
  • ***
  • Posts: 53
Compact/Expunge Button
« Reply #2 on: November 13, 2010, 04:40:51 AM »
Thank you,
as I am not very familiar with CSS, could you identify the proper parts for me if you have the time?

But I appreciate your help anyway, and of course will try it

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Compact/Expunge Button
« Reply #3 on: November 13, 2010, 05:34:11 AM »
Its more html then css, you need to move the link in the /skins//templates/mail.html
The buttons are:
Code: [Select]
<li><roundcube:button command=&quot;expunge&quot; type=&quot;link&quot; label=&quot;compact&quot; classAct=&quot;active&quot; /></li>
<li class=&quot;separator_below&quot;><roundcube:button command=&quot;purge&quot; type=&quot;link&quot; label=&quot;empty&quot; classAct=&quot;active&quot; /></li>

Offline grpprod

  • Full Member
  • ***
  • Posts: 53
Compact/Expunge Button
« Reply #4 on: November 18, 2010, 01:19:31 PM »
thanks.
seems to work except for the icon. I see RC has one single icon file for the toolbar, so I wouldnt know how to specify a different icon since it is chosen automatically based on class.