1

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

0

You can use a theme_preprocess() function to add attributes to that link, or you can create a custom field template that adds classes or specifies a target.

For a new window/tab, you'd add target="_blank" or if you want to use an overlay you would add classes as specified in the module that provides that functionality, such as Lightbox or Colorbox.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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