Kees de Keizer (RC) wrote:
// define list of cols to be displayed if (!strlen($attrib['columns'])) $a_show_cols = is_array($CONFIG['list_cols']) ? $CONFIG['list_cols'] : array('subject'); else eval( '$a_show_cols = array('. $attrib['columns'] .');' );
Don't use eval for that, just use columns list comma(or space)-separated and use explode() on it.
I'll get what I want. However, only for the first displayed mailbox. When I switch mailboxes, the settings in my skin are overruled by those in the main config. Does the javascript use another function to show the messagelist?
yes, rcmail_js_message_list(), you'll need to save columns in session