Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I can't get this module to work in display full display. I'm using display suite.
This is the error generated in my logs.
Strict warning: Only variables should be passed by reference in colorbox_field_formatter_field_formatter_settings_form() (line 73 of /home/mysite/public_html/sites/all/modules/colorbox_field_formatter/colorbox_field_formatter.module).
the link is well written with ?width=500&height=500 but my content opens in a new tab.
Thanks for any help.
Comment | File | Size | Author |
---|---|---|---|
#4 | display2.PNG | 13.16 KB | morybel |
#4 | display1.PNG | 6.46 KB | morybel |
#4 | display0.PNG | 2.54 KB | morybel |
Comments
Comment #2
jurgenhaasThe two issues are not related. I have fixed the strict warning thing, which is simply a warning but doesn't change anything.
The fact that your link doesn't open in a popup is probably due to an incomplete setup of the basic colorbox module. To understand more, can you please share all the settings of your field like in particular what field type that is and which Style of colorbox you selected?
Comment #4
morybel CreditAttribution: morybel commentedMy field is an entity reference type, referencing a node. This node is simply a location where to buy the product (a store).
I'm using Display suite to manage my display. Whatever I choose, iframe is always on.
Whey I check the source code within Chrome, I see this.
Comment #5
jurgenhaasThat looks like an issue with the colorbox javascript. I'm moving the issue into the colorbox issue queue for someone over there to look at it.
Comment #6
Neslee Canil Pinto