It just doesn't work on Drupal 7 version.
The module standalone yes, but lightbox2 enabled doesn't do any difference. Wondering on which of both modules the problem lies.
Thanks in advance.
It just doesn't work on Drupal 7 version.
The module standalone yes, but lightbox2 enabled doesn't do any difference. Wondering on which of both modules the problem lies.
Thanks in advance.
Comments
Comment #1
kslagboom commentedSettings
uc_tc settings: Width: 800px, Height: 600px
Lightbox2 Html Content settings: Width:600px; Height:400px
The problem has to do with the Lightframe render not being output properly.
uc_tc.module - line 145
$options['attributes']['rel'] = "lightframe[|width:{$width}px; height: {$height}px;]";For whatever reason, the colons ":" cause everything before them to be removed.
Output looks like this:
<a id="uc_tc_checkbox" rel="400px]" href="/terms-and-conditions?format=lightbox2">terms and conditions</a>Also, the 400px is coming from Lightbox2 HTML Content settings and looks like uc_tc module settings are being ignored.
I've tried to get the colons to render properly but I'm missing something.
If you change line 145 to this, it works:
$options['attributes']['rel'] = "lightframe[]"Comment #2
raulmuroc commentedRefer to #1608648: Does not show for Drupal 7