Jump to:

5542 Posts in 1739 Topics by 1225 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Help with custom admin area

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

Page: 1
Go to End
Author Topic: 756 Views
  • T-Muns
    Avatar
    Community Member
    8 Posts

    Help with custom admin area Link to this post

    I'm having trouble finding a "how to" for creating a custom admin section. I think I'm on the right track, I've subclassed LeftAndMain and I've created the SS template files for the left and right. On the left, I have a sitetree list similar to the CommentAdmin.

    I don't understand the process of linking the items in the sitetree to an action and how it all ties together with javascript, etc. Basically, on the left side I have a couple of buttons followed by the sitetree menu below it. If the button is clicked, I want an upload form in the main section. If one of the menu items are clicked, I want a CRUD table to show up in the main area. I see how the getEditForm function can load in separate forms by calling other functions in class, so I really just need help getting the left menu to work.

    I've looked at this page and it was helpful, but it doesn't cover how to use a sitetree-like menu on the left:
    http://doc.silverstripe.org/sapphire/en/reference/leftandmain

    Any help would be appreciated

    Attached Files
    756 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.