Hey,
I've modified Askbot skin and place it in an other foler (/home/name/myskin) and created a symbolic link (ln -s) from this folder to askbot/skins/myskins.
Now I would like to know how to use this new skin by default ?
Thank you :)
Edit : in settings, under Skins tab, myskin doesn't appear in the select menu to choose skin.
Try adding ASKBOT_EXTRA_SKINS_DIR setting to your settings.py as described here.
Please post an update if it does not help.
I've defined ASKBOT_EXTRA_SKINS_DIR as follow :
ASKBOT_EXTRA_SKINS_DIR = '/home/name'
with and without trailling slash, but myskin still doesn't appear in settings. I've check the folder syntax, and it has the required folders.
Hmm, works for me, probably your directory path is incorrect... I have dir /home/username/extraskins, and inside extraskins have the skin directory myskin. The ASKBOT_EXTRA_SKINS_DIR = '/home/username/extraskins' and the skin works - both appears in the dropdown and loads correct templates & media.
I've check directory structure, and as it's base on default, it has the exact same one. I also checked the CHMOD of the directory structure, and it seems good for me (apache:apache). I don't know what may cause the problem now ...
Do I have to restart server after doing a change ? If yes, how ?
AlexP (Sep 05 '11)Does it work with python manage.py runserver? One way to restart apache is /etc/init.d/httpd restart or /etc/init.d/apache2 restart depending on the system and the version of the webserver.
I just had to restart the server with "service httpd restart" and the skin appears in the list and the media are correctly loaded.
Thank you for your help !
AlexP (Sep 05 '11)Hey, is it possible to mark a comment as favorite? So I can mark this problem as solved
AlexP (Sep 11 '11)Asked: Sep 04 '11
Seen: 98 times
Last updated: Sep 04 '11
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.