To have a whole view item consisting of multiple filds rendered as one colorbox trigger, I would create a view like the one below:

  • [title] - excluded from display
  • [field_image] - excluded from display
  • [body] - excluded from display
  • [global_custom_text_field] - excluded from view and bulid with tokens of all the above fields ([field_mebel_image][title][body])
  • [colorbox_trigger_field] - trigger set to be the [global_custom_text_field]

I would expect colorbox to wrap the whole [global_custom_text_field] into one link which launches the colorbox. Instead, each field within the [global_custom_text_field] is rendered as a separate link.

Comments

Maciej Lukianski’s picture

Category: task » bug

Just a category change

frjo’s picture

Version: 7.x-1.2 » 7.x-1.4
Category: bug » support
Status: Active » Closed (cannot reproduce)

I tested this and could not reproduce your problem.

I added four fields to my view:

* Content title (excluded)
* Content image (excluded)
* Global Custom text "[title]
[field_image]" (excluded)
* Colorbox trigger, trigger field set to "Custom text"

The Colorbox link was wrapped around the whole content of "Custom text".