I tried seeing if there was a way to do this through views, but it looks like anything like the links displayed on a node aren't available as a field with my setup. I was wondering if there's a way to incorporate support for the Flag module with lightbox2?

Comments

JFreed’s picture

subcribing

JFreed’s picture

Found this http://drupal.org/node/474454
I havent tried the patch yet but should allow the inclusion of most views fields.
edit -- I miss understood the aim of this patch and is not relevant to this discussion.

JFreed’s picture

Hello
Ive been trying to get this to work for a while now and have got pretty close by passing the flag link in to the caption var. However the flag link which looks like so
<a class="flag flag-action flag-link-toggle flag-processed" title="" href="/flag/flag/ph_bookms/698?destination=looks_main&amp;token=3ba289210730b9f98f5fb74dfea4d27d">add to lightbox</a>
is full of nasty characters which break the caption var and cause it to return blank. Is there a way to pass this kind of string into the light box caption or similar var with out breaking it or is this just doomed to failure?

Cheers
J

theamoeba’s picture