Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
867 views
in Plugins by
retagged by
Greetings fellow Q&A Users,

i want to transmit the category in which a question will be posted via url like "mysite.bla/q2a/ask?cat=12345678"

Now i know i can change the core of Q&A to achieve this but a plugin would be better.

Any of you got advice on how to achieve this?

Thank you very much in advance
Q2A version: most recent 1.7.4

1 Answer

+1 vote
by
I solved this by adding a get parameter to the ask.php page and opening the ask page with this url: index.php/ask?cat=7613412.

get parameter is cat

Added a line where it checks for url parameters on this page
...