Author Topic: Change order of inbox columns by default  (Read 8265 times)

Offline calande

  • Jr. Member
  • **
  • Posts: 64
Change order of inbox columns by default
« on: November 15, 2007, 04:45:39 PM »
In main.inc.php, I suggest changing from:

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

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

Offline Thomas CARTER

  • Newbie
  • *
  • Posts: 2
Change order of inbox columns by default
« Reply #1 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

Offline climaxy

  • Newbie
  • *
  • Posts: 9
Change order of inbox columns by default
« Reply #2 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

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Change order of inbox columns by default
« Reply #3 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:

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

  • Make a copy of the current theme
  • Modify the mail.html in the templates folder:
Code: [Select]

  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
Code: [Select]
columns="" with the new order of columns:

Code: [Select]
columns="from,subject,date,size"

  • Let the user select this theme
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline climaxy

  • Newbie
  • *
  • Posts: 9
Change order of inbox columns by default
« Reply #4 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

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Change order of inbox columns by default
« Reply #5 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
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he