I am fairly new to drupal, but I have been messing around and doing a ton of searching trying to figure out things that I want. I have checked out both ddblock2 and lightbox2 and which to use both on my site. And while I can get them working with no problems on my localhost, I am at a loss on how to make the two work together. Anyone out there have a clue on how I could go about making my images in ddblock clickable so that they open with lightbox2?

CommentFileSizeAuthor
#2 template.txt32.33 KBdavid_p

Comments

ppblaauw’s picture

Assigned: Fspy » Unassigned
Category: feature » support
Status: Active » Postponed (maintainer needs more info)

Have a look at: Lightbox2 - How to add a lightbox to webpage links using lightbox2 module.

You can find a paragraph: Opening node content in a lightbox.
The node id is available in the preprocess function you added to your template.php file for the ddblock module. You can create the link in the preprocess function, like described in the link above.

It is better to use version RC6 of the ddblock module, the dev version is for further development of the module and slideshow themes for RC6 can not be used for the dev version.

Hope this helps you further, please let me know.

Tip about posting issues:
When you set assigned to yourself it means that you will further look at the issue and nobody has to do anything for now. When you want other to react, just leave assigned to Unassign.

david_p’s picture

StatusFileSize
new32.33 KB

Hi Philip. The explanation on that paragraph says "you just need to add /lightbox2 to the end of the node path. Note, this will only work with node links:
click here to see node content"

I'm not sure where on the preprocessed function is the node path where I should place the "/lightbox2" at the end. Could you be more specific? Should I place the whole link somewhere on the preprocessed function?

Thanks