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.

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

SilverStripe 3 - no cms but menu and siteconfig

Go to End

3 Posts   1063 Views


Community Member, 146 Posts

13 April 2012 at 4:41pm


is there a general way on how to build menues, 404 Pages and use siteconfig on Silverstripe 3 when only usin the Framework Package, without the cms module?

How can I check, if a Route exists or not?

THe Installation sets up the RootURLController. Will this controller be passed, also if a Route is not defined, and how can I check, if a Route is not defined, to redirect to a generic 404 Error Page?




Forum Moderator, 5523 Posts

13 April 2012 at 6:43pm

Edited: 13/04/2012 7:02pm

With 3.0 the cms is now an optional module so yes, you can use it on it's own

If you want to setup routes you need to use Director::addRules() (although this will change in 3.0 stable and move to static YAML definitions) to take all your routes and point them to controllers.

The base controller class (Controller) and RequestHandler handle detecting 404 errors so I would investigate those and pick out the bits you want to customize in your own base custom controller for the application..

Here's an example that creates the default pages -


Community Member, 2 Posts

23 January 2013 at 1:06am

I am also interested in using SiteConfig but in the framework only version. As SiteConfig is included in the cms version only could you please advise me if/how I can use this without the cms? I have been extending the framework admin to provide a simple system. Using the cms seems overkill for my project.