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, biapar, Willr, Ingo, swaiba, simon_w

Desperatly seeking documentation (Object class)


Reply


484 Views

Avatar
Mo

Community Member, 510 Posts

30 September 2009 at 12:11am

Hi All,

I am trying to use:

Object::set_static('CMSMain', 'url_segment', 'cms');

To change he default URL segment of CMSMain to 'cms' rather than just '/' in the admin area.

However this doesn't actually seem to alter the Main menu in the CMS. Any ideas why?

Cheers,

Mo