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

Go to http://question2answer.org/qa/questions, the "Recent" sub menu item is selected. But if you go to any of the others, e.g. "Most votes" then "Recent" is still selected, as well as "Most votes".

Just thought you'd like to know :)

Q2A version: 1.5
by
Yes I can confirm this on my site too...

1 Answer

+2 votes
by

Thanks for this. This was a bug introduced when trying to fix a different bug, relating to the highlighting of custom links to Q2A pages.

For now you can fix it by replacing the following in qa-page.php:

(strtolower(@$navlink['url'])==$selfpathhtml)

... with ...

false

I'll roll this into Q2A 1.5.1, along with a different way of ensuring custom links to Q2A pages are highlighted correctly.

by
awesome !!!
It took 3 hours sorting out that bug.
Thanks that worked...
...