I am working on a site in Silverstripe where I have news pages and each news page has_one category.
When someone arrives on the news page I want to show all news items (with some kind of limit) and this is no problem.
However when I want to only get news items in a specific category the best way of approaching this in Silverstripe is not clear.
I can use regular get variables but then why use mod_rewrite at all? I tried just adding /my_category to see if controller functions get fed URL segments as function variables but this does not seem to be the case.
Is there any Silverstripe sanctioned way of using the URL for function variables or will I have to write myself?