Hello,

When writing plugins, it's possible to get user preferences and other data through creating a variable from rcube::get_instance(). However I'm having issues getting what skin is currently being used, rather than what the user has saved in their preferences.

I can retrieve what the user has saved with $this->rcmail->config->get('skin'), but this doesn't display which skin is currently in use.

For example, if a user has the skin "larry" saved in their preferences but "elastic" is the default skin, when the user logs out, $this->rcmail->config->get('skin') will report "larry". But the current skin viewable is "elastic".

Is there a way to retrieve the skin that is currently in use, rather than retrieving what the user have saved for preferences?

Thanks.
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to