Drupal 7.23
Libraries 7.x-2.1
Colorbox plugin 1.4.28
Colorbox 7.x-2.4
Colorbox Node 7.x-3.0
Chaos Tools 7.x-1.3
Views 7.x-3.7
I have a view of articles (unformatted list of fields). For Title field I have selected: " Link this field to the original piece of content" and "Display the content inside of a colorbox". When I click the Title in the View it only links to the article and no colorbox is loaded. However images load nicely in colorbox. This happens both in IE and in Firebox.
I suspected that other modules may disturb colorbox node and so I made a fresh Drupal installation where only necessary core modules are enabled in addition to modules listed above. I have tested with the newest dev version of colorbox node as well. Nothing helps. Do I miss a step or two?
Thank you so much for help!
Comments
Comment #1
iLLin commentedDid you get this figured out?
Comment #2
Modern Smith commentedUnfortunately not. Today I tried again without success with following versions:
Colorbox 7.x-2.4+9-dev
Colorbox Node 7.x-3.1
Libraries 7.x-2.1
Colorbox plugin 1.4.27
Views 7.x-3.7
Chaos Tools 7.x-1.3
Images open nicely in overlay, but title fields link only to the original node. I have selected: " Link this field to the original piece of content" and "Display the content inside of a colorbox". I must make a mistake somewhere, because others get this working.
Comment #3
iLLin commentedCan u provide more information?
Do you have a javascript error?
Can you show me the rendered HTML of the link?
Comment #4
Modern Smith commentedHi, I get no error messages and there are none in the log messages either. Here is the HTML:
…
It seems not to be browser dependent either.
I use Adaptive Themes, AT Magazine 7.x-3.0.
Thank you for replying.
Comment #5
iLLin commentedMake sure colorbox load is turned on in your colorbox settings. Also put your html in code blocks.
Comment #6
iLLin commentedAnd if you have a link I can look at, that would be great.
Comment #7
Modern Smith commentedYes, colorbox load has been turned on (I suppose automatically by Colorbox Node module). I wouldn´t like to touch the html, because there is no custom html. I use also Display Suite 7.x-2.6. Any configurations necessary there? I´m happy to give you a link to look at, but what do you need?
Comment #8
iLLin commentedLink to the page where this problem is occurring.
Comment #9
Modern Smith commentedHere is the link: http://www.goodrules.com/?q=node/47. Now the overlay box loads with an error message that begins "An AJAX HTTP error occurred. HTTP Result Code: 200..."
The view is in a block. In the view "Link this field to original piece of content" and "Display the content inside of a colorbox." have been turned on. Colorbox load has been turned on as well.
My target is to refer to the node selected from the view and show the selected node in colorbox (by using Entity reference or any other similar field)
Comment #10
jcam88 commentedI was just having a similar issue here. Removing the Configuration>Colorbox>Advanced Settings "All pages except those listed" paths seemed to fix the issue for me.
Comment #11
Modern Smith commentedYes, that makes the error message disappear together with the overlay box. After that clicking the title in the view links to the original node without any error messages. By turning "All pages except those listed" back on, I get the colorbox or overlay box appear without content and with the long error message:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /colorbox/?q=node/48
StatusText: OK
ResponseText:
Test 2 | Good rules!
@import url("http://www.goodrules.com/modules/system/system.base.css?mttyxn");
....etc
Comment #12
iLLin commentedI don't have this module setup to not work without "mod_rewrite" (clean urls) working. You need to have that turned on. I'm welcome to patches if you feel so inclined.
Comment #13
Modern Smith commentedThank you very much! Turning on clean urls resolved the problem. The nodes open now nicely in the colorbox overlay when the title is clicked from the views list.
I haven´t yet tested how it works with entity reference fields, but I already found your instructions among the previous issues and will have a try.