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   1625 Views

Avatar
MichaelGMorgan

Community Member, 7 Posts

4 September 2009 at 7:07am

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

Community Member, 7 Posts

14 September 2009 at 10:30pm

Anyone?
Thanks!

Avatar
JoshuaLewis

Community Member, 76 Posts

23 September 2009 at 4:24pm

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.