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.
Hi Ladies / Gents,
I have a front end ComplexTableField as per the example on http://doc.silverstripe.com/doku.php?id=complextablefield, but the show and edit buttons simply fill out the current browser tab or open a new one rather than use a LightBox.
I've noticed a few people asking questions about getting LightBox working, but have seen no answers relevant to ComplexTableField.
Any ideas how I can pop up a lightBox in the front end?
Ah, tricky one eh?
Can anyone point me in the right direction? (Using SS 2.2.2)
Turns out that there was a dependancy problem.
In SS 2.2.2:
sapphire/forms/ComplexTableField.php has the line:
This depends on the prototype extension, but it has not been made a requirement for ComplexTableField (it has for TableListField)
So, I just added the following 3 lines before the Requirements line above:
Now it works
How do I enter this as a bug in the ticket system? I've registered, but apparently I don't have the privileges.