47.12. Changing and Installing Themes

A theme is an extension of Usermin (much like a module) that controls how its interface appears to users. The currently active theme determines if and how the categories at the top of each page are displayed, what page background is used, what icons each module has, how titles appear, and how each page ends. By changing themes, you can significantly change the look of Usermin without affecting its functionality. Several themes are included by default and you can install more that have been written by other developers.

Like the language, you can set the theme for all users in this module and users can choose their own themes and override the default with the Change Theme module in Usermin. To change the theme for everyone, follow these steps:

1.
Click on the Usermin Themes icon on the module's main page. This will take you to a page for changing themes, installing a new theme, and deleting existing ones.

2.
Select the theme to use from the Current theme menu. Those included as standard with Usermin are:

Old Usermin Theme The very simple theme that the first versions of Webmin and Usermin used before theming was added. If you find the default too slow, this may be a better alternative as it uses fewer images.

MSC.Linux Theme The current default Usermin theme.

MSC.Linux Mini Theme A modified version of the default theme, designed for use on small-screen devices such as PDAs.

3.
Hit the Change button to activate the chosen theme.

New themes developed by other people can also be added to Usermin, although none actually exist as I write this book. Themes for Webmin cannot be used, due to differences in the design of the two packages. You can write your own, however, as Chapter 58 “Creating Webmin Themes” explains.

To install a theme, follow these steps:

1.
Click on the Usermin Themes icon on the module's main page.

2.
Select the theme's file using the second form. Just as when installing a module, you can choose to install a theme from a file on the system running Webmin, the PC your browser is on, or an HTTP or FTP URL.

3.
Hit the Install Theme button to download (if necessary) and install it.

The final thing that you can do on this page is delete one of the installed themes. The Old Usermin Theme cannot be deleted as it is built into the program, and the other two standard themes should not be deleted, as they will be added again if you upgrade to the next version.

To delete a theme that you have installed, follow these instructions:

1.
Click on the Usermin Themes icon on the module's main page.

2.
Select the one to remove from the Theme to delete menu at the bottom of the page. If that menu does not appear, it means that all installed themes are in use either by an individual user or are the default for all users.

3.
Hit the Delete button to bring up a confirmation page asking if really want to go ahead.

4.
Click on Delete to remove the theme.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.103.10