Ticket #1485031 (closed Patches: fixed)

Opened 7 months ago

Last modified 6 months ago

Multiple Skin Selector

Reported by: bpat1434 Owned by:
Priority: 5 Milestone: 0.2-beta
Component: User Interface Version: svn-trunk
Severity: minor Keywords:
Cc:

Description

This feature has been requested a lot in the forums. And with the ability for people to create their own skin, I think we should allow individual users the opportunity to choose which skin they'd like to use.

Attached to this ticket is my diff file from the latest trunk on 4/29/08 (rev 1343). Essentially it works like this:

* Admin defines the directory which holds all skins and a default skin to use with their site (defaults to "default") * User is then allowed to go into preferences and select a specific skin to use * Preference is saved in database and updated in $CONFIG array * rcube_template checks to make sure a skin is set, otherwise uses "default_skin" from $CONFIG

A short and easy patch. This was tested and is working against the latest trunk (1343) with both the default and mvision themes.

Attachments

multi_skin.patch (3.5 kB) - added by bpat1434 7 months ago.
Patch (diff) file for use with trunk rev1343 to add multi-skin selection
multi_skin.2.patch (3.5 kB) - added by bpat1434 7 months ago.
Multiple Skin Selector now with option to turn off.

Change History

Changed 7 months ago by bpat1434

Patch (diff) file for use with trunk rev1343 to add multi-skin selection

Changed 7 months ago by till

  • type changed from Feature Requests to Patches
  • milestone changed from 0.1.2 to later

I am sure not everyone wants this kind of feature, can you add a configuration option (config/main.inc.php)? enable_skinselector or something similar, if set and true, it would allow people to change skins.

Feel free to put it back into 0.1.2 if that is added.

Changed 7 months ago by bpat1434

Till:

This takes care of tickets 1457222 and 1484744 which deal with a skin selector/chooser ;)

It does have the ability to be "turned off" just like the rest of the preference options. However the $no_override array is set, this inherits from it as well. I've also added a config variable to enable the skin selector.

Will attach a new patch to reflect these changes. I can't change the milestone, so if I see you, I'll let you know.

Changed 7 months ago by bpat1434

Multiple Skin Selector now with option to turn off.

Changed 7 months ago by till

  • milestone changed from later to 0.1.2

Changed 6 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Applied with some modifications in r1539.

Note: See TracTickets for help on using tickets.