Ask Your Question

AskBot v0.10.2: How to update footer.html ...

asked 2017-10-10 17:40:07 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Hello Friends:

I'm trying AskBot v0.10.2.

Just FYI that I saw this solution from a long while ago, but maybe it no longer works:

If you activate the OpenStack theme/skin, the footer is located here (after running python collectstatic):

  1. When I edit that file, it doesn't change on the site no matter what I do. I have tried clearing caches everywhere, too. (By the way, I'm using nginx and uWSGI).
  2. Next, I tried using the custom footer LIVESETTINGS option, and pasting in a trivially edited version of that same footer.html file, and again absolutely nothing changes on the site.

(Note: I'm open to suggestions on clearing out nginx, uWSGI and askbot's caches, in case I did something incorrectly).

What am I missing on how to change the footer? It refuses to update.

Thank you! =:)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-10 19:09:46 -0600

nyceyes's avatar

I figure it out. Answer:

I personally use the ASKBOT_EXTRA_SKINS_DIR and STATICFILES_DIRS to add additional templates, including the OpenStack template. So with that said, the solution is:

  1. vi ${ASKBOT_EXTRA_SKINS_DIR}/openstack/templates/widgets/footer.html (Make your modifications).
  2. cd ${ASKBOT_HOME}
  3. python collectstatic --settings live (Note: I inherit from into

And that works. Note that every time you make an update (i.e. perform step-1), you'll have to follow it up by doing steps 2 and 3, as well.

edit flag offensive delete link more


You should accept your answer by clicking the accept button (tick mark) next to the answer. This will mark your question as answered and your answer as solving the question.

slelievre's avatar slelievre  ( 2018-04-17 16:32:45 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-10-10 17:40:07 -0600

Seen: 849 times

Last updated: Oct 10 '17