I want in my node view pages, node reference links open in popup window or lightbox window. Does anyone have a solution?
1 Answer
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!!
-
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). Commented Jun 24, 2013 at 4:35
-
add the title field and reorder before the rewrite field, if not solved let me know– BalaCommented Jun 24, 2013 at 5:25