Author Topic: Add to field in the message list  (Read 943 times)

Offline beknur

  • Newbie
  • *
  • Posts: 2
Add to field in the message list
« on: January 11, 2022, 03:08:34 AM »

I'm trying to add a new column (to) to the message list in the elastic skin.

I have added to config the following:
Code: [Select]
$config['list_cols'] = ['to','subject', 'status', 'fromto', 'date', 'size', 'flag', 'attachment'];
But a little lost in the skin side. I have read all the relevant posts in the forum, that suggest to look into the JS, but still couldn't figure out.

I'd appreciate if you could direct me

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,783
    • SKaero - Custom Roundcube development
Re: Add to field in the message list
« Reply #1 on: January 11, 2022, 09:29:07 AM »
Have you tried adding the column in the UI?

The columns displayed in the list can be adjusted by clicking the List Options icon in the leftmost column of the message list header. This opens a dialog where you can select which columns to display and how to sort messages. Click Save to apply the changes and to close the dialog.

Note The “From/To” column is a magic column that displays the sender of the message or the recipient when you switch to the Sent or Drafts folder.
The position of the columns in list can also be adjusted by dragging the header of a specific column with the mouse and dropping it at where you’d like it to appear.