Roundcube Community Forum

Release Support => Requests => Topic started by: calande on November 15, 2007, 04:45:39 PM

Title: Change order of inbox columns by default
Post by: calande on November 15, 2007, 04:45:39 PM
In main.inc.php, I suggest changing from:

$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size');
To:

$rcmail_config['list_cols'] = array('from', 'subject', 'date', 'size');
:)
Title: Change order of inbox columns by default
Post by: Thomas CARTER on August 25, 2008, 11:15:31 AM
Hi, my client wants from first too, but what would be nice would be user-configerable column order...
ps : great software, thanks
Title: Change order of inbox columns by default
Post by: climaxy on March 23, 2009, 06:02:04 AM
Is this already possible? I'm running on rc-0.2.1
For me it seems, that it's still just possible to modify this globally within the main.inc.php but I have also users who wanna modify the order individually?

If not, I would post a Ticket in trac....

greetz
climaxy
Title: Change order of inbox columns by default
Post by: Julius Caesar on March 23, 2009, 06:26:40 AM
The column order can also be supplied in the theme. You take the following actions:

In the main.inc.php:

$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size');


  id="messagelist"
  cellspacing="0"
  columns=""
  summary="Message list"
  messageIcon="/images/icons/dot.png"
  unreadIcon="/images/icons/unread.png"
  deletedIcon="/images/icons/deleted.png"
  repliedIcon="/images/icons/replied.png"
  forwardedIcon="/images/icons/forwarded.png"
  forwardedrepliedIcon="/images/icons/forwarded_replied.png"
  attachmentIcon="/images/icons/attachment.png"
  flaggedIcon="/images/icons/flagged.png"
  unflaggedIcon="/images/icons/blank.gif" />

Modify the line columns="" with the new order of columns:

columns="from,subject,date,size"

Title: Change order of inbox columns by default
Post by: climaxy on March 23, 2009, 07:56:32 AM
Thank you, Julius...I've tried this and it's working fine.

BUT: wouldn't it be in general more handy, to give simple directly each user either via settings the possibility to set the order of the fields (because if 10 clients wanna have each a different order, I'd have to create 10 different themes...) or even better, to have the possibility to drag 'n' drop directly the fields with the mouse within the mailbox view.

br
climaxy
Title: Change order of inbox columns by default
Post by: Julius Caesar on March 23, 2009, 08:02:29 AM
Well, I'm currently developing (actually I still have to start) a new version of the GroupVice theme. Perhaps I can try to add a similar feature to this theme.

No promises, but I'll try to get this incorporated