What does it do:
It allows the administrator to define certain areas on a skin which can be customized by individual users. For example, a "banner" area where each user can display a different image, a "background" area for user to define background image or colour, etc.
Usage examples:I maintain a blog group. I want the whole group to have a consistent look-and-feel, yet allow some degree of customization to reflect each blogger's personality. I use a single skin for all bloggers, and use this plugin to let the bloggers define their own banner, sidebar image, etc.
Users who are unfamiliar with HTML may feel uncomfortable modifying the skin directly. This plugin can help to simplify things by presenting only the customizable areas to those users.[/list:o]
How to use:Install the plugin.
Go to the Skin Area plugin settings, and define a few skin areas. For each skin area, give it a name, a default value, and a descriptive note for your users.
In your skin, insert the following codes into wherever you want each skin area to appear:
$Plugins->call_by_code( 'evo_SkinArea', array(
Replace 'BannerImg' with the area name that you have defined.
A "Skin Area" sub-tab is added to the "Tools" tab. Users can access this tab, where they will see the list of skin areas that the administrator have defined (see screenshot). They can make their own settings, and it will be reflected on their blogs. However, they must use the skins with the above codes inserted.[/list:o]
Ideas for future extension:
Here are some ideas floating in my mind but I cannot find time to do yet. If anyone wants to help out, you are more than welcome.Validation of user input.
Different types of input, e.g., check box, radio buttons, etc.
Integration with filemanager for file selection (useful for inserting <img> tags).