My controllers and methods map to sections and pages so I use that to highlight current navigation items and show page templates (via $this->router->class..). But I've struck a bit of a problem, I have the following structure for doctor test results:
website.com/doctor/results/
So a 'doctor' controller has a method 'results' that loads a page listing of results. All good.
But there is a link next to each result listed, i.e. 'view details' to show details of that test. Functionally, clicking this link takes you to a 'test' controller with it's own method 'view' to show a page of details for that particular test. But visibly you should still be in the 'doctor' section, 'results' subsection.
I'm not sure how to achieve that? without rethinking the navigation as whole (which up until now seemed pretty good).