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.

Customising the CMS /

Change SilverstripeNavigator links


Reply


2 Posts   1595 Views

Avatar
Mo

Community Member, 514 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?