Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
702 views
in Q2A Core by
when i switch default theme they display vell it's about qa-styles.php file i think need to update i havet got enought code info , someone can edit it ?

4 Answers

0 votes
by
hey I have the same problem. I used the php file from the green theme, and the side bar widgets are not working. I'm trying to figure out this problem as well, ill let u know if i find a solution
0 votes
by
I found a solution. I looked at the "qa-theme.php" file and deleted the following code

        function sidepanel()
        {
            $this->output('<DIV CLASS="content-flow"><DIV CLASS="content-top"></DIV><DIV CLASS="content-wrapper"><DIV CLASS="qa-sidepanel">');
            $this->sidebar();
            $this->nav('cat');
            $this->output_raw(@$this->content['sidepanel']);
            $this->feed();
            $this->output('</DIV>', '');
        }

 

I don't know what that code did, but now I can see the side panel on my website
by
Yes, this worked for me too.  But it looks like not all of the widgets show up.  For example, the tag cloud widget shows up, but the ask box doesn't.
0 votes
by
I am also facing the same issue..I am not able to see the tags in the side bar..
0 votes
by

To output the widgets (for q2a 1.5:) in GreenTheme/qa-theme.php you replace the entire function sidepanel() with:

function sidepanel() {
    $this->output('<DIV CLASS="content-flow"><DIV CLASS="content-top"></DIV><DIV CLASS="content-wrapper"><DIV CLASS="qa-sidepanel">');
    $this->widgets('side', 'top');
    $this->sidebar();
    $this->widgets('side', 'high');
    $this->nav('cat', 1);
    $this->widgets('side', 'low');
    $this->output_raw(@$this->content['sidepanel']);
    $this->feed();
    $this->widgets('side', 'bottom');
    $this->output('</DIV>', '');
}
 

...