Ask Your Question
1

How to change askbot skin ?

asked Sep 04 '11

AlexP gravatar image AlexP flag of France
23 5
http://127.0.0.1/

updated Sep 04 '11

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.

2 Answers

Sort by ยป oldest newest most voted
1
AlexP has selected this answer as correct

answered Sep 04 '11

Evgeny gravatar image Evgeny flag of Chile
6665 31 49 95
http://askbot.org/

Try adding ASKBOT_EXTRA_SKINS_DIR setting to your settings.py as described here.

Please post an update if it does not help.

link

Comments

set skin path to ASKBOTEXTRASKINS_DIR works for me

byron (Sep 22 '11)
0
AlexP has selected this answer as correct

answered Sep 04 '11

AlexP gravatar image AlexP flag of France
23 5
http://127.0.0.1/

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.

link

Comments

1

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.

Evgeny (Sep 04 '11)

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.

Evgeny (Sep 05 '11)

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)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Sep 04 '11

Seen: 98 times

Last updated: Sep 04 '11