Jump to:

5514 Posts in 1733 Topics by 1219 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Custom Page in Admin

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

Page: 1
Go to End
Author Topic: 1527 Views
  • MichaelGMorgan
    Avatar
    Community Member
    7 Posts

    Custom Page in Admin Link to this post

    I've got a couple of custom scripts which I'd like to pull into the admin side of SS. I'd like to put a new link right at the top (the Site Content, Files & Images, Comments, etc bar) which when clicked would load in my script.php file as the content.

    How could I do this?

    Thanks

  • MichaelGMorgan
    Avatar
    Community Member
    7 Posts

    Re: Custom Page in Admin Link to this post

    Anyone?
    Thanks!

  • JoshuaLewis
    Avatar
    Community Member
    76 Posts

    Re: Custom Page in Admin Link to this post

    To create a new tab you would just use the getCMSFields() method of the SiteTree class and use addFieldtoTab() on the returned FieldSet object.

    I don't know how you would call your custom script within that tab though.

    1527 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.