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/
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/
Hi Marcus,
Thanks for the pointer. I've just looked at this plugin, and it seems
to really just manipulate the list_cols preference setting.
My problems are:
(a) the list_cols preference setting does not appear to work as
advertised -- when I add supported columns to the list, they don't
show up in the mailbox listing.
(b) I need to add a new column to the list of supported columns.
Thanks,
David
On Jul 23, 2010, at 11:37 AM, Marcus Don wrote:
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/
David Harris wrote:
Hi Marcus,
Thanks for the pointer. I've just looked at this plugin, and it seems
to really just manipulate the list_cols preference setting.My problems are:
(a) the list_cols preference setting does not appear to work as
advertised -- when I add supported columns to the list, they don't
show up in the mailbox listing.
In svn-trunk version you can use 'messages_list' hook...
(b) I need to add a new column to the list of supported columns.
...and add <LI> element(s) to the list menu using javascript on page load.