Posted by t4him on June 4, 2008 at 3:26pm
Jump to:
| Project: | Lightbox2 |
| Version: | 5.x-2.7 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Is this possible with the current version? There is another "lightbox2 type" called lightwindow. It uses what is called a flashpaper.
Thanks in advance for your efforts and for this great module.
Comments
#1
It's not possible with the current version. However, Lightbox2 can *should* be able to show any document in an iframe, but it's not hooked into any cck content types. Let me take a look at what's involved and get back to you.
Cheers,
Stella
#2
I've added support for this to the latest dev release (available later today). Obviously not all file types can be supported (e.g. doc, xls, etc), but there is support for pdf files. Tested in FF3, IE 7, Opera 9.27 and Safari 3.
Cheers,
Stella
#3
OK, This works Great!
I used the rel="lightframe" for display. One thing I am seeing is that "sometimes" the .pdf file will stop loading but I don't "think" this is associated with lightbox. As of yet I have used it as a link with fckeditor and as a file attachment through the upload module, then modifying the layout with contemplate. My final results will probably be using a cck upload field.
If I run into any other issues I will politely post it here and Thanks again for the quick, very quick, response A N D for this great module.
#4
Automatically closed -- issue fixed for two weeks with no activity.
#5
Released in Lightbox2 5.x-2.8 and 6.x-1.8.
Cheers,
Stella
#6
Hey buddy I have been trying to achieve the same pls let me know how you did this
"As of yet I have used it as a link with fckeditor and as a file attachment through the upload module, then modifying the layout with contemplate."
You can have the discussion at the problem page
http://drupal.org/node/360983
#7
@himtuna: this issue is in relation to CCK files created via the filefield module. It's not in relation to file attachments - perhaps try the inline module. Lightbox2 does provide support for the Inline module in relation to images - I'm not sure it will work for files, but you should try. Please open a separate support request if you have an issue with the inline module integration.
#8
Thanks!
I have been able to do it via contemplate and CCK file field.
Will try with inline module and try it as well
Regards
himtuna