DMXzone Lightbox Support Product Page

Not a problem

Lightbox not working from link in an HTML5 Data Bindings TR Repeat Region

Reported 15 Jan 2014 23:59:54
has this problem
15 Jan 2014 23:59:54 Steven Irwin posted:
I have a table displaying database records (grid) in table row repeat regions.
I have a link in the table to a new page for each record to allow editing that record. This works fine but I want it to open in Lightbox (not absolutely important but would be nice). The link works fine as long as it is not in a TR Repeat Region. If I remove the repeat region I get a single row as expected and the link opens into lightbox. I can emulate a multirow table and the links all open into lightbox. As soon as the table row is changed to a repeat region the links open normally i.e. not into Lightbox. See code below.

<tr data-binding-repeat="{{}}" data-binding-id="repeat1">
            <td><a href="#" target="_self" onClick="dmxDataBindingsAction('selectCurrent','repeat1',this)">Edit / Delete</a></td>
            <td><a href="imageproc.php?product_id={{product_id}}" title="Add / Replace Product Image" rel="dmxLightbox" rev="{preset:'simple', width:600, height:600}">Add / Replace Image</a></td>

Any suggestions?


Replied 16 Jan 2014 09:41:46
16 Jan 2014 09:41:46 Teodor Kuduschiev replied:
Hello Steve,

Unfortunately the Lighbox cannot be used inside repeat regions. This will be possible in the next versions of the extension. You will be notified as soon as this is available.
Replied 16 Jan 2014 10:38:22
16 Jan 2014 10:38:22 Steven Irwin replied:
Thanks Teodor.
Is there a plan to migrate all of the most used extensions to use HTML5 Database Extensions?
I have a mix of both standard and the new HTML 5 database connections across a major project - using Dreamweaver CC.


Replied 16 Jan 2014 10:55:08
16 Jan 2014 10:55:08 Teodor Kuduschiev replied:
The most used extensions are in our update list, and will be Data Bindings Compatible.
You can check our Roadmap for 2014:
Replied 16 Jan 2014 11:08:31
16 Jan 2014 11:08:31 Steven Irwin replied:
Thanks Teodor,

The roadmap looks really good. I have used Codecharge Studio for 10 years or so and have finally dropped it for new projects in favour of Dreamweaver. I have to admit I was unsure I had made the right choice during the last few days but I can see by the roadmap that this is going to work well for me. I have a 2 year subscription to DMXZone and look forward the the coming developments.



Reply to this topic