Might be worth looking at the msglistcols plugin for some pointers.
Hi,
[[ I'm happy to work with a consultant to answer this and other questions, as per my previous email. However, Thomas suggested I send some questions to the dev list, so I'm doing that. ]]
I want to modify roundcube to add a new column to the mailbox listing based on an X- header in the email messages, conditionally based on the mailbox name.
I've found these functions involved in creating the message listing:
program/steps/mail/func.inc:rcmail_message_list program/steps/mail/func.inc:rcmail_js_message_list
It looks like the message list both printed as HTML and updated by javascript.
I tired modifying their output to add some new columns, but the resulting display was really weird. The new column ended up to the right of the actual column listing, and I don't think had the right data.
Just to see how the system works, I tried modifying the configuration $rcmail_config['list_cols'] and adding 'cc' or 'replyto' (both identified as supported columns) and they did not show up as new columns in the message listing. When I remove a column (such as 'date') it does disappear from the listing.
I'd appreciate any pointers.
I'm running roundcubemail-0.3.1.
Thanks!
David Harris DRH Internet Inc. 972-572-0900
List info: http://lists.roundcube.net/dev/
List info: http://lists.roundcube.net/dev/