Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

How to disable submenu which is under Questions tab?

0 votes
How to disable submenu (all options) which is under Questions tab?

Recent | Hot! | Most Votes | Most Answers | Most Views
asked Aug 28, 2011 in Q2A Core by ProThoughts

3 Answers

0 votes

Just add:

function nav_main_sub()
{
$this->nav('main');
//$this->nav('sub');
}

after "class qa_html_theme extends qa_html_theme_base

{"

In you custom theme (qa-theme.php) file. This wil replace nav_main_sub function without sub navigation.

EDIT: oh this disables and admin sub navigation... :(

answered Aug 28, 2011 by Another one
You should be able to check that $this->template or $this->request is 'admin'.
+1 vote

you could try one of theses....

hopefully one will fit also for you :)

answered Aug 28, 2011 by snoopy0815
+1 vote

I created addon to  save efforts of others. You can download from below link.

http://answers.prothoughts.com/q2a-themes-addons

Thanks snoopy0815 and NoahY

 

answered Sep 3, 2011 by ProThoughts