akiro's profile - activity
2017-12-06 12:10:18 -0500 | received badge | Notable Question (source) |
2014-09-19 18:37:00 -0500 | received badge | Popular Question (source) |
2013-03-21 08:12:32 -0500 | received badge | Famous Question (source) |
2010-10-01 12:54:10 -0500 | received badge | Student (source) |
2010-10-01 12:51:42 -0500 | received badge | Scholar ( source ) |
2010-08-17 23:46:31 -0500 | marked best answer | Question about creating a custom skin Hi Akiro, no you are not missing anything. If the askbot app is installed in the To edit skins the app is best installed into the project directory. Then you can either follow the directions that you have pointed out or try another method that I will describe below in a minute. I'll also try to come up with a better method :) and update this post once I do. Sorry about the long explanation (and most of this can be automated later), but I want to be as detailed as possible. 1) you've mentioned that you are on a shared host. Since you do not have access to Let's say you want to install under If you run this and directory Actually, run that command once anyway and see which directory all of that will be created at once. next: this directory myst be on see what your on bash shell (example): or if empty, you can just type: Then run the 2) Now you'll have two options to deploy: (a) - use (b) - deploy askbot from github If you first run do: It may be something like: askbot-0.6.8-py2.6.egg See where askbot is and remove that whole directory. Also delete the line with askbot record from any (c) actual deployment of the "git clone".
|
2010-08-17 23:46:20 -0500 | commented answer | Question about creating a custom skin Thanks for a very thorough answer, all i need to get started :-) |
2010-08-17 11:32:53 -0500 | asked a question | Question about creating a custom skin Im trying to figure out how to create a custom skin, and the official method for creating a custom skin as described here and here seems a bit backward to me. easy_install installs askbot under /usr/lib/python.. for me, and creating a new directory there under skins for customizing my webapp that lives somewhere else is not really an option since that is a directory writeable only by root, and is not under version control. It would make much more sense to put your customizations under the main app directory created by startforum, but there doesn't seem to be any way to do this, or am i missing something? The only way i could think of to accomplish this was add a directory to TEMPLATE_DIRS in settings.py, eg /home/me/askbotproject/templates, and then copy the files i want to customize there, eg. base.html. That way django seems to read them first before going to the default skin. Is this a really bad way of accomplishing this? Is there a better way? Did i miss something? |