commit | author | age
|
48e9c1
|
1 |
+-------------------------------------------------------------------------+ |
T |
2 |
| |
|
3 |
| Author: Cor Bosman (roundcube@wa.ter.net) |
|
4 |
| Plugin: jqueryui |
8a73fd
|
5 |
| Version: 1.9.2 |
48e9c1
|
6 |
| Purpose: Add jquery-ui to roundcube for every plugin to use |
T |
7 |
| |
|
8 |
+-------------------------------------------------------------------------+ |
|
9 |
|
8a73fd
|
10 |
jqueryui adds the complete jquery-ui library including the smoothness |
48e9c1
|
11 |
theme to roundcube. This allows other plugins to use jquery-ui without |
T |
12 |
having to load their own version. The benefit of using 1 central jquery-ui |
|
13 |
is that we wont run into problems of conflicting jquery libraries being |
|
14 |
loaded. All plugins that want to use jquery-ui should use this plugin as |
|
15 |
a requirement. |
|
16 |
|
|
17 |
It is possible for plugin authors to override the default smoothness theme. |
|
18 |
To do this, go to the jquery-ui website, and use the download feature to |
8a73fd
|
19 |
download your own theme. In the advanced settings, provide a scope class to |
48e9c1
|
20 |
your theme and add that class to all your UI elements. Finally, load the |
T |
21 |
downloaded css files in your own plugin. |
|
22 |
|
|
23 |
Some jquery-ui modules provide localization. One example is the datepicker module. |
|
24 |
If you want to load localization for a specific module, then set up config.inc.php. |
|
25 |
Check the config.inc.php.dist file on how to set this up for the datepicker module. |
|
26 |
|
|
27 |
As of version 1.8.6 this plugin also supports other themes. If you're a theme |
|
28 |
developer and would like a different default theme to be used for your RC theme |
8a73fd
|
29 |
then let me know and we can set things up. |
AM |
30 |
|
|
31 |
This also provides some common UI modules e.g. miniColors extension. |