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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Custom Page in Admin


Go to End


3 Posts   2382 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, 81 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.