Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Custom Page in Admin


Reply

3 Posts   1558 Views

Avatar
MichaelGMorgan

4 September 2009 at 7:07am Community Member, 7 Posts

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

Avatar
MichaelGMorgan

14 September 2009 at 10:30pm Community Member, 7 Posts

Anyone?
Thanks!

Avatar
JoshuaLewis

23 September 2009 at 4:24pm Community Member, 76 Posts

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.