Hi Lars,
I've set up Simplx_Controller all fine and it's processing through to my snippet.
There are two things I don't really get:
1. Using query.id:
Say I have a friendly url:
www.site.com/category/subcategory/?id=100
where category is an existing resource but subcategory is not, how can I return a page, using $modx->sendForward(pageid) without triggering the routing again? If I don't do this I get a 404 and I don't see the output.
2. Switching to rest using your example:
Using a url like
www.site.com/modResource/subcategory/slug
, I am also getting a 404 but, with $debugmode on, I can see the output is running.
[ed. note: hyponym last edited this post 10 years ago.]