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

Change SilverstripeNavigator links


Go to End


2 Posts   1993 Views

Avatar
Mo

Community Member, 541 Posts

5 October 2009 at 11:11pm

Hi All,

Apparently I have to post this on the forum.

What I want to do is change the 'CMS' link in $SilverstripeNavigator it from /admin/show/$ID to /admin/cms/show/$ID

Generally it looks like I need to overwrite the SilverstripeNavigator method in ContentController. I did try this by creating a new class that extended extension, and then using

Object::add_extension('ContentController', 'DsSSNavigator');

This doesn't seem to work though, anyone know if what I ma doing is right? Is Content Controller to far u the stack to overwrite?

Cheers,

Mo

Avatar
kuenkuen82

Community Member, 41 Posts

21 October 2010 at 4:41pm

hey dude, did you find a solution to this?