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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Single object admin page in SS 4


Go to End


2 Posts   550 Views

Avatar
Faloude

Community Member, 55 Posts

23 May 2017 at 12:33am

I need a simple admin page (ie CMS section) for a site-wide setting (in my case: website's footer content). In SS 3.x I was comfortable using this mod: https://github.com/littlegiant/silverstripe-singleobjectadmin . However it seems to rely on deprecated methods and classes rendering it incompatible with SS 4.

Now I'm looking for a solution and need some advice. Would it be an idea to simply fork silverstripe-siteconfig and tweak the code a bit or does would that be too much of a hassle for the desired goal?

Avatar
martimiz

Forum Moderator, 1391 Posts

24 May 2017 at 5:00am

You could just create a DataExtension for SiteConfig. That would work fine...

Otherwise I would rather fork the SingleObjectAdmin and see if you can update that one to SilverStripe 4, then offer it as a pull request?