2

I am working with Drupal 7, and I have a block generated by the Views module with titles of many articles. When the user chooses a title, I want a popup with title, body, and image to appear.

Is it possible with any module?

2 Answers 2

2

you can use lightbox2 module.

And here is the description that how will you use it.

4
  • This option is a good option. However, for drupal 7, there is a mistake, I have applied a patch and the module with views doesn't work correctly...
    – cabita
    Jul 12, 2012 at 10:46
  • hmmm, but I did not check it with views. You can check this link. drupal.org/node/252260. Check the sections of links created with views.
    – Ahmad
    Jul 12, 2012 at 11:23
  • I don't know if I trying correctly this option. Do you have any example about how apply the code is shown in "the sections of links created with views"?
    – cabita
    Jul 12, 2012 at 11:48
  • Thanks for your answer. In views filter I added the field "Title". I put the option "rewrite the output" and I put this code: <a href="/project/node/[nid]/lightbox2" rel="lightframe[group|width:400px;][caption]">[title]</a> Then in the section header I have added a field Global Text Area and I put the code appears in "The sections of links created with views" in full html. and nothing, what is my error? Thanks for your help.
    – cabita
    Jul 12, 2012 at 11:59
0

Using lightbox2 for poupup node and content type ,etc (every thing except iamges) is not standard method work but not adequate way.
If you have drupal developing knowledge i suggest you use ctools modal
ctools
automodal module
modal-forms
useful example

Not the answer you're looking for? Browse other questions tagged or ask your own question.