Active
Project:
Lightbox2
Version:
master
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2011 at 23:46 UTC
Updated:
11 Jan 2011 at 23:51 UTC
Is it possible to add Service Links to the caption of a Lightbox2 popup?
I have read on a post that I can't find at the moment that you can add html content to the Title of a Lightbox2 popup like so:
<a href="http://video.google.com/videoplay?docid=22349072348092348324" rel="lightvideo[groupname][<b>Caption Title</b>]">Video 1</a>
Is it possible to add php content to the title if the input format is set to a php/code type?
According to this post: http://drupal.org/node/691602
I would then need to do something like this:
<a href="http://video.google.com/videoplay?docid=22349072348092348324" rel="lightvideo[groupname][<?php if (isset($node->service_links) && (!empty($node->service_links))) {
$item['service-links-twitter'] = $node->service_links['service-links-twitter'];
print theme('links', $item);}?>]">Video 1</a>Or would the best and only way be to have Lightbox2 display a node with service links attached using a Lightmodal?
Thank you.
Comments
Comment #1
LateNightDesigner commentedHmm,
Or would I just display a custom node type and use rel=lightframe?