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

Custom Show template for ComplexTableField Popup


Go to End


1902 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