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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

ModelAdmin: Link to Detailform instead of PopUp

Go to End



Community Member, 6 Posts

26 May 2009 at 6:50am

Hey everyone,
I'm wondering, whether it is possible to change the default ModelAdmin behaviour in such a way, that clicking an entry in as ComplexTableField (for example) does NOT open a Popup with the detail information when the related Dataobject is managed by this ModelAdmin instance as well, but links you to the detail view of that specific entry.

Got that? okay, let's have an example:

I'm linking students with schools (via a has_one/has_many) relationship. When I view the details of a specific student I can see the related school. BUT when I click on that school, the details are opened in a modal popup, making it impossible to actually browse through the data (for example immediatly looking for all students of that school), etc...

Is there a way to change that behaviour? Or do I have to switch to the Generic Views Plugin for that?

Thanks for your assistance!