Ask Your Question
1

Why askbot template base.html has become the default base template?

asked 2011-08-23 11:20:28 -0500

Fabio gravatar image Fabio flag of Italy
53 3 1 9
http://www.virtualb.it/

Hi,

can anybody explain this error?

In template /usr/lib/python2.6/site-packages/askbot-0.7.19-py2.6.egg/askbot/skins/default/templates/base.html, error at line 4 Could not parse the remainder: '()' from 'skin.get_extra_css_link()'

I get it when I try to access to search directory of "haystacksearch".

Fabio

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-08-23 18:37:01 -0500

Evgeny gravatar image Evgeny flag of Chile
11329 50 84 183
http://askbot.org/

Maybe in some page you are using base.html template for some other written in django templating language.

base.html is written in jinja2, a better templating language, which is close to django, but with some differences. Jinja2 is well documented: http://jinja.pocoo.org/docs/.

link publish delete flag offensive edit

Comments

Ok, but this means that askbot has changed my default template engine? Fabio ( 2011-08-24 03:31:51 -0500 )edit
Fabio, no django template loaders will load other templates, but mixing templating languages in the same response is not always possible. If you are using standard django templates for something else and want to use askbot's base layout - you may need to re-implement the base template in the other templating language (btw, sorry for being slow in response, I've been travelling this week, and returning over the weekend). I will be happy to take a look at your site - you can either email me the files or let me log in. my email address is evgeny.fadeev@gmail.com. Evgeny ( 2011-08-25 07:38:49 -0500 )edit

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]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-08-23 11:20:28 -0500

Seen: 134 times

Last updated: Aug 23 '11