Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
6.3k views
in Plugins by
I have the plugin enabled, and set it in the admin to be showed on "every" page. However, it will nog show on a single question page. How can this be done? I'm using the "full width - below navigation" position.
Q2A version: 1.4

1 Answer

+1 vote
by
selected by
 
Best answer
The easy way, but this will rewrite the core.

In qa-widget-ask-box find:

switch ($template)
            {
                case 'activity':
                case 'categories':
                case 'custom':
                case 'feedback':
                case 'qa':
                case 'questions':
                case 'hot':
                case 'search':
                case 'tag':
                case 'tags':
                case 'unanswered':
                    $allow=true;
                    break;
            }

and replace it by

switch ($template)
            {
                case 'question':
                case 'activity':
                case 'categories':
                case 'custom':
                case 'feedback':
                case 'qa':
                case 'questions':
                case 'hot':
                case 'search':
                case 'tag':
                case 'tags':
                case 'unanswered':
                    $allow=true;
                    break;
            }
...