Opened 4 years ago

Closed 4 years ago

#1485577 closed Feature Requests (fixed)

Provide columns in skin to overide settings on in main.inc.php config-file

Reported by: Julius Caesar Owned by:
Priority: 5 Milestone: 0.2-stable
Component: User Interface Version: 0.2-beta
Severity: normal Keywords:
Cc: kees@…

Description

Using the option columns="<commma seperated column list>" in the object "messages" you can provide columns in a skin. This setting in the skin overrules the setting in the config.

Besides that, you are able to provide the postion of the attchment column in the config and skin. If no attachment-column is provided, the default setting, last column, will be used.

Attachments (2)

patch_steps_mail.func.inc (3.9 KB) - added by Julius Caesar 4 years ago.
Patch file for program/steps/mail/func.inc (compared to svn 2076)
patch_app.js (1.8 KB) - added by Julius Caesar 4 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by Julius Caesar

  • Component changed from Addressbook to User Interface

Changed 4 years ago by Julius Caesar

Patch file for program/steps/mail/func.inc (compared to svn 2076)

Changed 4 years ago by Julius Caesar

comment:2 Changed 4 years ago by Julius Caesar

  • Cc kees@… added

An example on how to use it in a skin:

<div id="mailcontframe">

<roundcube:object name="messages"

id="messagelist"

cellspacing="0"

summary="Message list"

columns="attachment,flag,size,from,subject,date"

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>

comment:3 Changed 4 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [d59aaa1a] with few fixes. For feature, please provide one patch file for all changes and don't set milestone.

Note: See TracTickets for help on using tickets.