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

ModelAdmin: Link to Detailform instead of PopUp


Go to End


1467 Views

Avatar
henning.blunck

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!

Henning