diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-09-11 10:00:41 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-09-11 10:00:41 -0300 |
commit | c5a4a9d9b0ec47bcfa0646bdfc238a4cb7d45631 (patch) | |
tree | d64317ef3747f4a4b2a074c1e1f4f6ef09c3cbbc | |
parent | 7c0184a5e7e2cb11b4a96fc41b28b14585b4ecf1 (diff) | |
download | askbot-c5a4a9d9b0ec47bcfa0646bdfc238a4cb7d45631.tar.gz askbot-c5a4a9d9b0ec47bcfa0646bdfc238a4cb7d45631.tar.bz2 askbot-c5a4a9d9b0ec47bcfa0646bdfc238a4cb7d45631.zip |
updated documentation about skins
-rw-r--r-- | askbot/doc/source/customizing-skin-in-askbot.rst | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/askbot/doc/source/customizing-skin-in-askbot.rst b/askbot/doc/source/customizing-skin-in-askbot.rst index 8be21ebd..686fc3ed 100644 --- a/askbot/doc/source/customizing-skin-in-askbot.rst +++ b/askbot/doc/source/customizing-skin-in-askbot.rst @@ -120,13 +120,29 @@ by from the root account. Create a custom skin in a new directory --------------------------------------- This is technically possible, but not advisable -because a redesign of default skin is expected. +because a redesign of default skin is pending. +After the redesign your custom skins may be difficult +to update. If you still wish to follow this option, name all directories and files the same way as in the "default" skin, as some template file names are hard-coded in the askbot's python code. +Add setting ``ASKBOT_EXTRA_SKINS_DIR`` to your ``settings.py`` file +and set its value to the directory with your additional skins. + +For example:: + + ASKBOT_EXTRA_SKINS_DIR = '/home/myname/my_askbot_themes' + +And your directory structure might be:: + + /home/myname/my_askbot_themes/ + /my_theme + /templates + /media + If you are planning to seriously recode the skin - it will be worthwhile learning the ``git`` system and just follow the recipe described in the previous section - |