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

I changed the qa-theme.php to look like this:

 

class qa_html_theme extends qa_html_theme_base
{
function nav_user_search() // reverse the usual order
{
$this->nav('user');
$this->nav('main');
$this->search();
 
}
}
 
and now i have two nav('main') items one on the old place and one on the place i want it to be. It is like i am not overiding the theme but adding another nav('main').
 
And please dont tell me to read:
... i did many times and i assure you its not verry helpfull for people who are not php gurus.
 

1 Answer

+1 vote
by
 
Best answer

You're half way there but also need to override the function nav_main_sub() in your advanced theme, since that is what outputs the main navigation in the usual position.

...