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

I'm looking at making a plugin that lists all of a user's questions and answers. I can set up a basic page at a URL like /user-activity. However if I try to open a page like /user-activity/DisgruntledGoat (i.e. for a specific user) I get a "page not found" error.

What is the answer here? Is the only way to use GET parameters like /user-activity?user=DisgruntledGoat ??

1 Answer

+2 votes
by
 
Best answer

It shouldn't be a problem - just make sure you return true from your page module's match_request(...) method for all appropriate requests (the $request parameter is slash separated no matter what URL form is selected).

...