Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
951 views
in Themes by
edited by

First, I would like to thank developers of this script, I am using over 1 years and I get good results.

My question is that should I upgrade the core to beta 1.7 version from 1.6.3 or can I use SnowFlat theme (in 1.7 beta zip file) on current 1.6.3 website until stable version is released?

Q2A version: 1.6.3

2 Answers

+3 votes
by
edited by

AFAIK, the only thing that might break is the RTL feature. That will result in notices in your error_log. In order to fix that you can force a value to the field. In order to do so, in the qa-theme.php file add this line:

private $isRTL = false;

Immediately after:

class qa_html_theme extends qa_html_theme_base
{
 
If you want RTL support then use true instead of false.
 
Then you'll also have to change this line:
 
parent::__construct($template, $content, $rooturl, $request, $textdir);
 
With this one:
 
parent::__construct($template, $content, $rooturl, $request);
 
Note this applies for beta-2. I'm pretty sure the latter change shouldn't be necessary for 1.7. The RTL one should still be needed.
 
You will need PHP5 too to handle the new constructor but I guess you already fulfill that requirement.
 
Anyway, giving it a try shouldn't break anything. Even if it does break the whole theming and makes your Q2A installation unusable from the UI just remove the SnowFlat directory from the themes and that will default it to the Classic theme :)
...