I have a content type with an image field and a textfield.
The textfield is an external link to other sites (eg. www.google.com).
I made a view to display the images and clicking on the image opens the external url in a new window.(using "linkpath" and "External server URL" in "rewrite results" of the settings for the image field in view. So that works.

But I want the link to open the external url in a colorbox but cannot make it to work.
Anybody has an idea on what to put extra in "rewrite result" or how to theme the views-view-field.tpl.php?
(I have colorbox installed and working on the site already)

Comments

dawehner’s picture

Project: Views (for Drupal 7) » Colorbox
Version: 7.x-3.0-beta3 » 7.x-1.x-dev

This seems to be a colorbox support request.

viny-1’s picture

subscribing

mgladding’s picture

Any movement on this?

lsolesen’s picture

Status: Active » Fixed

Enable colorbox-load from admin/config/media/colorbox. Then you just need:

<a href="http://google.com?width=500&height=500&iframe=true" class="colorbox-load">Google</a>

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.