StylistPackage

Created by: xing, Last modification: 23 Feb 2005 (04:57 UTC)

My Site Stylist


my site stylist is a configurable graphical user interface to modify (perhaps even create) new themes.

Image


admin area

the admin area allows you to define what tags, classes and ids can be modified by users using the stylist. this allows the admin total control over how much can be modified.
e.g. if you don't want the users to change the banner you have put up, don't allow users to change the settings for #tikitop.
in addition it's possible to define what properties can be set.

original files are never modified

stylist doen't modify any of the original files but either creates new files that are loaded in addition to the original <style>.css file (when you use the graphical user interface(GUI)) or it creates a copy of the original file that is loaded instead of the original <style>.css file.

global style modifications

depending on your permissions it is possible to create global css files. the global css modifications you make (be it with or without the GUI) are visible to all users using that particular theme.

images

stylist allows you (depending on the settings in the admin section) to upload your own images and thus customise the feel for your site without actually having to touch the css file directly or the need of ftp.

preview

it is possible to work on any style that is available without having to change the theme set in your preferences. to simply this task, it is possible to preview the style you are working on and thus see all changes you make after every time you save the modifications you have made.

personal style manager

there is an integrated custom style manager which gives you an overview of all styles you have already modified and what images are available for every one of them. also, you have the option to delete custom modifications if you wish to do so.

permissions and preferences that are available

permissions

permissionnotes
tiki_p_admin_stylistuser has the right to set tags, ids and classes that can be modified by other users
tiki_p_edit_globaluser has rights to edit the global css
tiki_p_edit_cssuser can edit a copy of the original css file using a textarea. the user has no constraints on what the css file contains
tiki_p_use_stylistif the user is allowed to use the stylist at all
tiki_p_no_max_file_sizeuser isn't bound to the preference set in max_file_size

preferences

preferencenotes
max_file_sizeset MAX_FILE_SIZE for image upload (if not set, or tiki_p_no_max_file_size is set) it defaults to 10MB
use_color_pickershould we use the color picker popup window?


theme selection restrictions

the admin always has control over what themes users can pick, and when these can be displayed.
prioritysetting
1user can pick a theme for his/her homepage. this setting takes precedence over all settings.
2it is possible to pick a theme based on a category.
3user can pick a theme to view the entire site using a particular theme.
4theme control module.
5global theme setting for entire site.


loading of css files - full listing

filelocationnotes
1base.cssthemes/this is always loaded and helps functionality of site
2<style>.cssstorage/users/<user_id>%1000/<user_id>/themesif found, continue with # 3
storage/themesif found, continue with # 3
themes/<style>if found, continue with # 3
3<style>_<browser>.cssthemes/<style>
4custom.cssstorage/users/<user_id>%1000/<user_id>/themeslast file
storage/themeslast file
</style>