On Tue, 18 Nov 2008 12:09:20 +0100, "A.L.E.C" <[EMAIL PROTECTED]> wrote:
>> [Skin specific column settings]
> Simply it's not possible, but if you're a programmer you can:
>
> 1. create php file which will overwrite config and include that file by
> 'include' tag in skin template.
> 2. or extend 'messages' (rcmail_message_list) object to allow setting
> list_cols via template.
>
> In my opinion the second one is better. If you create a patch it will be
> applied in trunk.
When I modify the ./program/steps/mail/func.inc with:
// 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'] .');' );
and the mail.html with:
<roundcube:object name="messages"
id="messagelist"
columns="'flag', 'size', 'from', 'subject', 'date'"
cellspacing="0"
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/unflagged.png" />
</div>
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?
--
Kees de Keizer
[EMAIL PROTECTED]
http://www.de-keizer.net/
_______________________________________________
List info: http://lists.roundcube.net/users/