Could FAQ be moved to settings?
Sometimes there's need to customize it, some points should be removed, some added. There's possibility to change the source code, but I update the source from git, and would prefer to have it editable in settings.
Another question - how can I add my links to header of template? (Like here: "Home Documentation Contact us"). There's customizable footer in settings, but no header.
Okay, that was easy... not sure if Evgeny will accept the exact solution, but here's what I did for the faq:
if getattr(askbot_settings, 'FORUM_FAQ',''): return render_into_skin('faq.html', data, request) return render_into_skin('faq_static.html', data, request)
next stop, custom header :)
And done... I've added a setting to settings->Skin that adds a custom header portion. Note that this doesn't change the header as it is, just adds html at the end. To actually customize the header would be messier, since it depends on various functions, e.g. whether the user is logged in, their karma, etc.
Also pushed to github:
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 siteAsked: 2011-07-21 10:04:26 -0500
Seen: 88 times
Last updated: Jul 22 '11
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.