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 /

ModelAdmin: Link to Detailform instead of PopUp


Reply


852 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