Skip to main content


Customising the CMS /

Subclassing Left and Main with several pages




Community Member, 19 Posts

8 April 2011 at 1:11pm


I'm new to subclassing LeftAndMain and have some questions. My 'left' is a search form and 'right' is a series of pages (reports) pulling data from the database and webservices.

How would I create a series of pages under this menu? At the moment I'm trying to use defaultAction($action) to parse the url action (e.g. admin/myadmin/report1) and generate a report to go into the template, but I get "The action 'report1' does not exist in class MyAdmin" (so defaultAction is not working?).

Is there an easier way to have a number of pages show under a LeftAndMain menu?