Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
good module. To be honest I've been waiting for it...
Anyway I can't get it working even though I follow your instructions.
The modal open up but it shows this message: Request unsuccessful: error
I create the link in the body of a node using ckeditor (look this picture)
This is the generated link. As you can see the path is wrong even though I created the link as usual. I have pathologic module if this matters.
<a class="colorbox-load colorbox-node init-colorbox-load-processed-processed cboxElement colorboxNode-processed" href="/colorbox/mysite.com/es/servicios">colorbox link</a>
Comment | File | Size | Author |
---|---|---|---|
#59 | colorbox_node-enable-entity-translation-1587652-59.patch | 736 bytes | kostask |
#52 | colorbox_lang_patch.diff | 1.89 KB | mErilainen |
#42 | patch.txt | 713 bytes | harrrrrrr |
#38 | language_prefix-1587652-37.patch | 1.51 KB | iLLin |
#32 | language_prefix-1587652-32.patch | 584 bytes | iLLin |
Comments
Comment #0.0
chefnelone CreditAttribution: chefnelone commentedinfo
Comment #1
iLLin CreditAttribution: iLLin commentedHmmm, it seems when its rewriting its doing something wrong. Can you take off the colorbox-node class and repost the HTML generated for the link?
Comment #2
iLLin CreditAttribution: iLLin commentedAlso what browser are you using so I can try and duplicate the issue.
Comment #3
iLLin CreditAttribution: iLLin commentedComment #4
chefnelone CreditAttribution: chefnelone commented#1
If I remove colorbox-node class it works fine but then header and footer are also shown.
This is the generated html:
<a class="colorbox-load init-colorbox-load-processed-processed cboxElement" href="http://localhost/mysite.com/es/servicios">colorbox link</a>
Comment #5
iLLin CreditAttribution: iLLin commentedOhhh, you have Drupal sub foldered? I need to add colorbox after the base path in this case (mysite.com). Let me see if I can set something up real quick for testing to get a fix for you.
Comment #6
iLLin CreditAttribution: iLLin commentedHere is a patch to take the base path settings into account. See if this fixes your issue.
Comment #7
chefnelone CreditAttribution: chefnelone commentedstill not working, here's the html output.
<a class="colorbox-load colorbox-node init-colorbox-load-processed-processed cboxElement colorboxNode-processed" href="/colorbox/refineriaoro.com/es/servicios">colorbox link</a>
Comment #8
iLLin CreditAttribution: iLLin commentedIt should do something. Here is the updated code:
It should add it somewhere. Your drupal install is in a subfolder correct? I tested this locally and it worked fine for me. Is this only accessible locally?
Comment #9
iLLin CreditAttribution: iLLin commentedOh you have a typo, it says "colobox-node"
Comment #10
chefnelone CreditAttribution: chefnelone commentedI fixed the typo but still no working I pasted the html output in #7
Yes, you are right, it is a subfolder.
Comment #11
iLLin CreditAttribution: iLLin commentedCan you do a
console.log(Drupal.settings.basePath);
Comment #12
chefnelone CreditAttribution: chefnelone commentedI run it and I get:
/refineriaoro.com/
which is the real folder.
and the html output is
<a class="colorbox-load colorbox-node init-colorbox-load-processed-processed cboxElement colorboxNode-processed" href="/colorbox/refineriaoro.com/es/servicios">colorbox link</a>
Comment #13
iLLin CreditAttribution: iLLin commentedTry this file, I have some console logs in it and paste the output from the console. Just copy it over top.
Comment #14
chefnelone CreditAttribution: chefnelone commentedhere:
Comment #15
iLLin CreditAttribution: iLLin commentedThat looks right, your saying it doesn't work like that? Paste your markup now.
Comment #16
chefnelone CreditAttribution: chefnelone commentedstill not working. Modal open up but no content in it.
the output is:
<a class="colorbox-load colorbox-node init-colorbox-load-processed-processed cboxElement colorboxNode-processed" href="/refineriaoro.com/colorbox/es/servicios">colorbox link</a>
and I think it should be:
<a class="colorbox-load colorbox-node init-colorbox-load-processed-processed cboxElement colorboxNode-processed" href="colorbox/es/servicios">colorbox link</a>
Comment #17
iLLin CreditAttribution: iLLin commentedNo thats right, now I am thinking its the translations. Here is a new .module file. This should output some extra error checking or at least the path we are attempting to lookup.
Comment #18
chefnelone CreditAttribution: chefnelone commentedI've made a very short video to show you what's happening:
http://www.screencast.com/t/9Qus2PTlKld
Comment #19
iLLin CreditAttribution: iLLin commentedWhat does the modal output with the last file?
Comment #20
chefnelone CreditAttribution: chefnelone commentedThe modal output is.
the html for the link is:
<p><a class="colorbox-load colorbox-node init-colorbox-load-processed-processed cboxElement colorboxNode-processed" href="/refineriaoro.com/colorbox/es/servicios">colorbox link</a></p>
Comment #21
iLLin CreditAttribution: iLLin commentedIt's something with the language. I don't have an install with languages turned on at the moment but I took a guess. Try the file attached and let me know. If it doesn't work it will be a few before I can get a language install going.
Comment #22
chefnelone CreditAttribution: chefnelone commenteddoesn't work. Now the link output is:
<a class="colorbox-load colorbox-node init-colorbox-load-processed-processed cboxElement colorboxNode-processed" href="/refineriaoro.com/colorbox/es/servicios">colorbox link</a>
Comment #23
iLLin CreditAttribution: iLLin commentedThe link output is correct, its the language that is causing the grief now. Should work in english :), but it seems when the path is prepended with a language selector, in your case the "es", its not mapping correctly. I will try and get a two language Drupal install going this weekend sometime so I can find out how to correctly pass it off to retrieve the correct node id.
Comment #24
iLLin CreditAttribution: iLLin commentedComment #25
iLLin CreditAttribution: iLLin commentedGive this file a try. I haven't tested this so if you get errors I'm sorry :) but it looks right lol.
Comment #26
iLLin CreditAttribution: iLLin commentedSorry wrong file. This should be the correct one.
Comment #27
chefnelone CreditAttribution: chefnelone commentedsorry, but still not working.
The modal box text is:
Page Not Found.
The following page es/servicios was not found.
Comment #28
iLLin CreditAttribution: iLLin commentedOK, I did a base install with languages turned on. I think I got it figured out. Here is a patch against the latest -dev release.
Comment #29
iLLin CreditAttribution: iLLin commentedComment #30
chefnelone CreditAttribution: chefnelone commentedIt works, thanks for your time.
Comment #31
bennos CreditAttribution: bennos commenteddoes not work for me.
Fatal error: Call to undefined function language_url_split_prefix() in /data/disk/devel/distro/001/drupal-7.14.2-dev/sites/www.domain.com/modules/colorbox_node/colorbox_node.module on line 81
Looks like it only works when a path prefix is set, but I do not have it set. Standard language is german and second is english.
Changing the status back to needs work.
Comment #32
iLLin CreditAttribution: iLLin commentedHmmm, I can change the function to check if that function exists instead as its included with the locale.inc file. Maybe that file is only included if your using prefixes? Not sure, try this patch against 2.x-dev and then I will backport to 1.x.
Comment #33
bennos CreditAttribution: bennos commentedtried it out.
Updated the module to 2.x, applied patch and cleared all caches.
get a lot of ajax errors
[{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"at_codex","theme_token":"jDuIO4DJVr3hl7IB-E1x1zsgNFOY3HWGFePsBL5r0OM"},"colorbox":{"opacity":"0.85","current":"{current} von {total}","previous":"\u00ab Zur\u00fcck","next":"Weiter \u00bb","close":"Schlie\u00dfen","maxWidth":"100%","maxHeight":"100%","fixed":true,"__drupal_alter_by_ref":["default"]},"overlay":{"paths":.....
Comment #34
iLLin CreditAttribution: iLLin commentedYou need to apply different classes for the 2.x version. That is why you have JSON output. Remove the colorbox-load class and add use-ajax in its place.
Comment #35
bennos CreditAttribution: bennos commentedah ok, but it does not work with the new classes.
not json output, a parsing error.
Ein AJAX-HTTP-Fehler ist aufgetreten
HTTP-Rückgabe-Code: 200
Im Folgenden finden Sie Debugging-Informationen.
Pfad: /node/9042?width=600&height=600
Statustext: parsererror
Antworttext:
var NREUMQ=NREUMQ||[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);
doppelter Test | OM - Manager
@import url("http://www.domain.com/modules/system/system.base.css?m4fq43");
@import url("http://www.domain.com/modules/system/system.menus.css?m4fq43");
@import url("http://www.domain.com/modules/system/system.messages.css?m4fq43");
@import url("http://www.domain.com/modules/system/system.theme.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/jquery_update/replace...");
@import url("http://www.domain.com/sites/www.domain.com/modules/jquery_update/replace...");
@import url("http://www.domain.com/modules/overlay/overlay-parent.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/jquery_update/replace...");
@import url("http://www.domain.com/sites/www.domain.com/modules/jquery_update/replace...");
@import url("http://www.domain.com/sites/www.domain.com/modules/jquery_update/replace...");
@import url("http://www.domain.com/modules/book/book.css?m4fq43");
@import url("http://www.domain.com/modules/comment/comment.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/date/date_api/date.cs...");
@import url("http://www.domain.com/sites/www.domain.com/modules/date/date_popup/theme...");
@import url("http://www.domain.com/sites/www.domain.com/modules/date/date_repeat_fiel...");
@import url("http://www.domain.com/modules/field/theme/field.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/ideal_comments/theme/...");
@import url("http://www.domain.com/sites/www.domain.com/modules/logintoboggan/loginto...");
@import url("http://www.domain.com/modules/node/node.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/om_maximenu/css/om_ma...");
@import url("http://www.domain.com/modules/user/user.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/views/css/views.css?m...");
@import url("http://www.domain.com/sites/www.domain.com/modules/cctags/cctags.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/colorbox/styles/defau...");
@import url("http://www.domain.com/sites/www.domain.com/modules/ctools/css/ctools.css...");
@import url("http://www.domain.com/sites/www.domain.com/modules/ganttView/ganttview.c...");
@import url("http://www.domain.com/sites/www.domain.com/modules/kaltura/style/kaltura...");
@import url("http://www.domain.com/sites/www.domain.com/modules/panels/css/panels.css...");
@import url("http://www.domain.com/sites/www.domain.com/modules/rate/rate.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/shorten/shortener/sho...");
@import url("http://www.domain.com/sites/www.domain.com/modules/views_table_highlight...");
@import url("http://www.domain.com/sites/www.domain.com/modules/flag_solved/theme/fla...");
@import url("http://www.domain.com/sites/www.domain.com/modules/panels/plugins/layout...");
@import url("http://www.domain.com/sites/www.domain.com/modules/field_collection/fiel...");
@import url("http://www.domain.com/modules/filter/filter.css?m4fq43");
@import url("http://www.domain.com/sites/www.domain.com/modules/field_group/field_gro...");
@import url("http://www.domain.com/sites/www.domain.com/files/ctools/css/dd40f13e1e57...");
@import url("http://www.domain.com/sites/www.domain.com/modules/om_maximenu/skin/no_s...");
@import url("http://www.domain.com/sites/www.domain.com/themes/adaptivetheme/at_core/...");
@import url("http://www.domain.com/sites/www.domain.com/themes/adaptivetheme/at_core/...");
@import url("http://www.domain.com/sites/www.domain.com/themes/adaptivetheme/at_core/...");
@import url("http://www.domain.com/sites/www.domain.com/themes/at_codex/css/styles.ba...");
@import url("http://www.domain.com/sites/www.domain.com/themes/at_codex/css/styles.se...");
@import url("http://www.domain.com/sites/www.domain.com/themes/at_codex/css/styles.mo...");
@import url("http://www.domain.com/sites/www.domain.com/files/color/at_codex-9aac2a88...");
@import url("http://www.domain.com/sites/www.domain.com/files/adaptivetheme/at_codex_...");
@import url("http://www.domain.com/sites/www.domain.com/files/adaptivetheme/at_codex_...");
@import url("http://www.domain.com/sites/www.domain.com/files/adaptivetheme/at_codex_...");
@import url("http://www.domain.com/sites/www.domain.com/files/adaptivetheme/at_codex_...");
jQuery(document).ready(function($){
$('#om-maximenu-main-menu li.om-leaf .om-maximenu-content').removeClass('om-maximenu-content-nofade');
//$('#om-maximenu-main-menu li.om-leaf').hover(omFadeIn,omFadeOut); //native jquery
$('#om-maximenu-main-menu li.om-leaf').hoverIntent({
over: omFadeIn,
timeout: 1000,
out: omFadeOut
});
function omFadeIn(){ $('.om-maximenu-content.closed', this).fadeIn();}
function omFadeOut(){ $('.om-maximenu-content.closed', this).fadeOut();}
});
jQuery(document).ready(function($){
if ($('#om-maximenu-main-menu').hasClass('om-maximenu-row')) {
var wrapper = $('#om-maximenu-main-menu .om-menu-ul-wrapper'),
wrapper_width = wrapper.width(),
ul = $('#om-menu-main-menu'),
ul_width = 0;
$('#om-menu-main-menu .om-leaf').each(function(index) {
ul_width += parseInt($(this).width(), 10);
});
// this will only be triggered when links won't fit inside the wrapper
if (ul_width > wrapper_width) {
var wrapper_height = 30,
li_first = ul.find('li:first-child').width(),
li_last = ul.find('li:last-child').width();
wrapper.height(wrapper_height + 'px');
$('#om-menu-main-menu-ul-wrapper').css('margin', '0 30px');
$('#om-menu-main-menu').css('position', 'absolute');
// scroll adjustment to end link
ul.width(ul_width + 30 + 'px')
wrapper.css({overflow: 'hidden'});
$('#om-maximenu-main-menu').prepend('');
$('#om-maximenu-main-menu').append('>');
$('#om-maximenu-main-menu').serialScroll({
target:'#om-menu-main-menu-ul-wrapper',
items:'li.om-leaf',
prev:'div.om-menu-previous',
next:'div.om-menu-next',
axis:'xy',
navigation:'',
duration: 250,
force:true,
onBefore:function( e, elem, $pane, $items, pos ){
e.preventDefault();
if( this.blur ) this.blur();
},
onAfter:function( elem ){
//'this' is the element being scrolled ($pane) not jqueryfied
}
});
}
}
else if ($('#om-maximenu-main-menu').hasClass('om-maximenu-column')) {
var wrapper = $('#om-maximenu-main-menu .om-menu-ul-wrapper'),
wrapper_height = wrapper.height(),
ul = $('#om-menu-main-menu'),
ul_height = 0;
$('#om-menu-main-menu .om-leaf').each(function(index) {
ul_height += parseInt($(this).height(), 10);
});
// this will only be triggered when links won't fit inside the wrapper
if (ul_height > wrapper_height) {
var wrapper_width = wrapper.width(),
li_first = ul.find('li:first-child').height(),
li_last = ul.find('li:last-child').height();
$('#om-menu-main-menu').css('position', 'absolute');
// scroll adjustment to end link
ul.height(ul_height + 30 + 'px');
wrapper.css({overflow: 'hidden'});
$('#om-maximenu-main-menu').prepend('^');
//$('#om-maximenu-main-menu').append('v');
$('v').insertAfter(wrapper);
$('#om-maximenu-main-menu .om-menu-scroller').width(wrapper_width);
$('#om-maximenu-main-menu').serialScroll({
target:'#om-menu-main-menu-ul-wrapper',
items:'li.om-leaf',
prev:'div.om-menu-previous',
next:'div.om-menu-next',
axis:'xy',
navigation:'',
duration: 250,
force:true,
onBefore:function( e, elem, $pane, $items, pos ){
e.preventDefault();
if( this.blur ) this.blur();
},
onAfter:function( elem ){
//'this' is the element being scrolled ($pane) not jqueryfied
}
});
}
}
});
jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"at_codex","theme_token":"5XBFgh4LBiHJXM3eMBtsObl_NH30pw4iYoxO87PM4xU","js":{"sites\/www.domain.com\/modules\/wysiwyg\/wysiwyg.js":1,"sites\/www.domain.com\/modules\/jquery_update\/replace\/jquery\/jquery.min.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/www.domain.com\/modules\/jquery_update\/replace\/ui\/ui\/minified\/jquery.ui.core.min.js":1,"sites\/www.domain.com\/modules\/jquery_update\/replace\/ui\/ui\/minified\/jquery.ui.widget.min.js":1,"sites\/www.domain.com\/modules\/jquery_update\/replace\/ui\/external\/jquery.cookie.js":1,"sites\/www.domain.com\/modules\/jquery_update\/replace\/misc\/jquery.form.js":1,"misc\/jquery.ba-bbq.js":1,"modules\/overlay\/overlay-parent.js":1,"sites\/www.domain.com\/modules\/jquery_update\/replace\/ui\/ui\/minified\/jquery.ui.button.min.js":1,"sites\/www.domain.com\/modules\/jquery_update\/replace\/ui\/ui\/minified\/jquery.ui.mouse.min.js":1,"
Comment #36
iLLin CreditAttribution: iLLin commentedCan you paste your link markup?
Comment #37
bennos CreditAttribution: bennos commentedInput:
<a class="use-ajax colorbox-node" href="/node/[nid]?width=600&height=600">[title]</a>
It is an views field, and [nid] gets replaced with the node id.
Output
<a class="use-ajax colorbox-node ajax-processed colorboxNode-processed" href="/colorbox/node/9042?width=600&height=600">doppelter Test</a>
Comment #38
iLLin CreditAttribution: iLLin commentedOK, I figured out that problem. The use-ajax link is firing before the colorbox-node has time to rewrite the URL so it was never re-writing. I basically copied the JS from misc/ajax.js to attach the AJAX stuff to it, over to the colorbox_node.js file so it will fire in order. Apply this patch against the latest 2.x-dev version and then clear you javascript cache.
Comment #39
iLLin CreditAttribution: iLLin commentedOh, you only need to add ONE class to your link now. Remove the 'use-ajax' class and only use 'colorbox-node'.
Comment #40
bennos CreditAttribution: bennos commentedpatch applied and the css classes removed.
cool thing, it works.
let me test more. When I found bugs, i will post ist,
Comment #41
iLLin CreditAttribution: iLLin commentedCommitted to lastest -dev releases.
Comment #42
harrrrrrr CreditAttribution: harrrrrrr commentedHello iLLin,
I needed to add following changes in orde to render the pages in the correct (current) language, otherwise they were renderend in the default language.
This patch adds the lang prefix in front of the colorbox link, that does the job for me.
Comment #43
iLLin CreditAttribution: iLLin commentedHmm, I don't know about this as I have a test site with prefixes turned on and it works fine for me. I think you are creating your link wrong as it should already contain the prefix and automatically be included. There shouldn't be a need to add it again.
Comment #44
iLLin CreditAttribution: iLLin commentedComment #45
iLLin CreditAttribution: iLLin commentedPlease re-open if you still encounter issues around languages.
Comment #46
mErilainen CreditAttribution: mErilainen commentedI cannot get this to work. Or it's unclear how I should form my link. Should I include the prefix in a view rewrite or not? I hope not, because I'm using the same view for different languages, all the labels etc. have been translated.
Currently I'm generating the link like this:
<a class="colorbox-node" href="/node/[nid]?width=70%&height=80%">Link</a>
If I change languages, the link always looks the same when hovering over it. I always get my content inside the colorbox in Finnish, which is the default language. If I add the "en" prefix in views rewrite, content still pops out in Finnish.
Comment #47
iLLin CreditAttribution: iLLin commentedYou need to add the prefix to your link like this.
<a class="colorbox-node" href="[prefix]/node/[nid]?width=70%&height=80%">Link</a>
It seems you are worried about it being in a view and you don't want to manually set the prefix? You should be able to grab that token for your rewrite, just add it to your view and exclude it from display. Then its dynamic. You could also just use the "NODE LINK" field and just click the checkbox "use colorbox" and it will do it automatically for you.
Comment #48
mErilainen CreditAttribution: mErilainen commentedWell my problem was more about the link not working, with or without the prefix. I didn't even try yet to add it dynamically, but adding it manually didn't change the language inside the popup.
I also tried to add the link like you mentioned with the Content: Link field and then choosing "Display the content inside of a colorbox." Then the prefix appears dynamically but my content inside the popup is still in Finnish all the time. If I open the content without node popup I get all the labels etc. in English.
Which reminds me that the content type I want to open in the popup is not translated, only the labels and such should appear translated.
Comment #49
iLLin CreditAttribution: iLLin commentedTry using the alias and not an actual node id. The node id will always map to w/e language its in and not the linked one.
Comment #50
mErilainen CreditAttribution: mErilainen commentedI'm not sure if I follow. Using alias when I create the link manually in views field rewrite?
Like I said, if I use the "Content: Link" field which gives me the option to display content inside colorbox, then I do get the aliased path with the right prefix, but still content always comes in the default language, no matter if the link has prefix or not.
Could this be somehow related to content language vs. interface language? Because the content type doesn't have translation enabled, but we have translated the interface, meaning labels, prefixes/suffixes etc.
Comment #51
mErilainen CreditAttribution: mErilainen commentedBumping up to major. Using the "Content: Path" will give me the proper alias with prefix, but still content is always displayed in site's default language. Copy-pasting the alias to browser's address bar to open the node without colorbox opens the node in the right language, so colorbox is losing come context here.
Comment #52
mErilainen CreditAttribution: mErilainen commentedI found a possible fix. When I altered the colobox_node.js to include the path prefix before the /colorbox/ in the path when opening the popup, it works. So here is my patch, now the path prefix appears twice, but it seems to work anyway. Somebody who is more experienced in jQuery can probably do it in the proper way.
Comment #53
iLLin CreditAttribution: iLLin commentedYou are doing something wrong. I have tested this in views and everything works for me. Something is setup wrong on your end.
Comment #54
mErilainen CreditAttribution: mErilainen commentedThat's a brave claim. What you are saying is that you have tested this in every possible configuration and I have not tried to read the instructions or I cannot follow them properly, even after the discussion here.
My content type is not using any "Multilingual support" option, because everything is imported from a XML feed and only the field labels etc. are translated in Drupal. I can test this on vanilla Drupal, but it's quite complicated setup and still I got it working when the language prefix is in the proper place (which is before /colorbox/). By the way, in your setup, do you get the prefix before or after "/colorbox/"? Because if it comes before, then I agree there is something messing in my setup and the problem is probably not in colobox_node.
Comment #55
iLLin CreditAttribution: iLLin commentedComment #55.0
iLLin CreditAttribution: iLLin commentedas
Comment #56
kostask CreditAttribution: kostask commentedI am having the same problem.
My use case is: I am using Entity translation and the default language has no language prefix. I want the colorbox node to be used in views. I cannot use the 'use colorbox' checkbox via views ui as I am not using the drupal default title but the title field that has no such option.
A solution that I found to tackle this problem is:
To change the line 34 of colorbox_node.js from
to
The Drupal.settings.pathPrefix contains the right language prefix. That is a prefix if the language has a prefix or is empty if the language has no prefix.
What do you think about the above solution? If you like it I can roll a patch with it.
Comment #57
iLLin CreditAttribution: iLLin commentedPatch needs to be rerolled against the latest DEV version. Please note that I needed to add in a Clean URL check so take that into account when re-rolling.
Comment #58
jenshk CreditAttribution: jenshk commented#56 works for me.
Comment #59
kostask CreditAttribution: kostask commentedAlthough the solution that I proposed at #56 solved my particular use case and jenshk's as it seems, it introduces a new bug:
The pathPrefix is added to all links thus making node/1 and fr/node/1 load only on the default language if invoked from the /node page and only on the french language if invoked from the fr/node page.
A workaround would be to keep the same ajax callback (colorbox/node/1 and colorbox/fr/node/1) and make sure that the content in the correct language is loaded.
The colorbox_node_url_load function already deals with the language, so setting the global $language_content to the language seems to be enough to solve the fields language problem.
Comment #60
jurgenhaas#56 works well for me too
Comment #61
iLLin CreditAttribution: iLLin commentedSee if the fix for this issue #1813122: i18n problems: Colorbox node js does not take in charge the language prefix, resolved this one.
Comment #62
iLLin CreditAttribution: iLLin commentedReopen, if the above does not fix this issue.