17488 Posts in 4473 Topics by 1978 members
|Go to End|
27 September 2008 at 11:20pm Last edited: 2 October 2008 2:32am
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?
30 September 2008 at 9:23pm Last edited: 30 September 2008 9:29pm
Ah, tricky one eh?
Can anyone point me in the right direction? (Using SS 2.2.2)
2 October 2008 at 2:27am
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
2 October 2008 at 2:32am
How do I enter this as a bug in the ticket system? I've registered, but apparently I don't have the privileges.
|Go to Top|