Jump to:

5541 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Subclassing Left and Main with several pages

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 797 Views
  • Room9
    Avatar
    Community Member
    19 Posts

    Subclassing Left and Main with several pages Link to this post

    Hi,

    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 MyAdmin_right.ss 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?

    797 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.