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

Custom Show template for ComplexTableField Popup


Go to End


1497 Views

Avatar
Dig

Community Member, 33 Posts

8 June 2010 at 3:08pm

I'm using ComplexTableField quite a lot to show various DataObjects and it works really well, except that the 'show' action simply shows a readonly version of the 'edit' action. This is a good default but I was wondering where is the best / easiest place to hook into providing a template for the show content.

I have no issue with editing the core files if that is what's required, just some pointers on where best to start would be great. Ideally if I can ultimately provide a .ss template for each dataobject to be used in the show action that would be perfect.

Cheers,
Nick