0

I want in my node view pages, node reference links open in popup window or lightbox window. Does anyone have a solution?

1
  • do you want to show bubble info, when hovering the link ? or the whole page ?
    – Bala
    Commented May 4, 2013 at 10:03

1 Answer 1

1

In Views Use this code in "Rewrite the output of this field"

<a href="[path]" rel="lightframe[][My Title]">[title]</a>

Note: add "Node:Path" field before the Rewrite field.

You can also set the width and height of the popup window, see the read-me file in Lightbox2 module folder.

hope you will get idea from the above!!

2
  • I have the same problem and the following code does not work for me - I am using the code below to 'Rewrite the output of a field' in Views. "[title]" Any idea what is wrong here? I have lightbox2 module installed and enabled (D6 Version: 6.22 & lightbox2 Version: 6.x-1.11).
    – drupalmav
    Commented Jun 24, 2013 at 4:35
  • add the title field and reorder before the rewrite field, if not solved let me know
    – Bala
    Commented Jun 24, 2013 at 5:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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