Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: grpprod on November 13, 2010, 01:08:25 AM

Title: Compact/Expunge Button
Post by: grpprod 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
Title: Compact/Expunge Button
Post by: SKaero on November 13, 2010, 01:44:42 AM
You could change the skin file to move it to the main toolbar if you wanted.
Title: Compact/Expunge Button
Post by: grpprod 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
Title: Compact/Expunge Button
Post by: SKaero 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:
<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>
Title: Compact/Expunge Button
Post by: grpprod 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.