Hey,

I actualy got a little problem trouble getting lightbox to open a PDF file out of a block.
If I use following code in a node, it works perfektly:

<a href="http://localhost/lauftreff2/sites/default/files/news1_0.pdf" rel="lightframe[|width:900px; height:650px; scrolling: auto;]">Test</a>

But if i use it in a View Block (Rewrite the output of ...), for example:

<a href="[field_link_to_pdf_fid]" rel="lightframe[|width:900px; height:650px; scrolling: auto;]">[title]</a>
(The format of [field_link_to_pdf_fid] is: URL to File)

It just opens the PDF in a blank page?
Some idea how to solve this?

Greetings SG

Comments

sgurlt’s picture

Problem solved :D
http://drupal.org/node/252260 - Adding lightbox support to links created by Views

magnus’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

addition