Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
127 views
in Q2A Core by

I set that widget would be displayed in ALL pages but it doesn't displayed in custom pages. Maybe i should add case with those:

 

switch ($template)
{
case 'activity':
case 'categories':
case 'feedback':
case 'qa':
case 'questions':
case 'hot':
case 'search':
case 'tag':
case 'tags':
case 'unanswered':
case 'admin':
case 'question':
case 'account':
case 'users':
case 'custom_pages':
$allow=true;
break;
}
 
return $allow;

1 Answer

+1 vote
by
 
Best answer

Sure, you could do that - the correct template is actually 'custom'

...