Chronoforms and Roksprocket (K2 content)

klox7 10 Sep, 2013
Hello,
I'm using K2 for my main content. I added extra field in k2 for form which has custom value {chronoforms}formname{/chronoforms}. I use RokSprocket module on frontpage for displaying K2 items. The problem is if chronoforms plugin is enabled RokSprocket module doesn't work as intended. Did anybody stumble upon same issue?
Regards
GreyHead 10 Sep, 2013
Hi klox7,

I don't use K2 or RokSprocket so can't comment directly. If you temporarily set the Site Error Reporting to Maximum do you see any error messages that give a clue what the problem is?

Bob
klox7 10 Sep, 2013
Hello,
no, no errors. I have this in console

window.addEvent('domready', function() {
 document.id('chronoform_prijavnica').addClass('hasValidation');
  formCheck_prijavnica = new FormCheckMax('chronoform_prijavnica', {
   onValidateSuccess: function(){},
    display : {
     showErrors : 0,
     errorsLocation: 1					
    }
  });										
 });


with error
Uncaught TypeError: Cannot call method 'addClass' of null


and this

window.addEvent('load', function(){
   RokSprocket.instances.mosaic.mosaic['id-195'].reload();
});


with error
Uncaught TypeError: Cannot read property 'mosaic' of undefined
GreyHead 10 Sep, 2013
Hi klox7,

The error suggests that document.id('chronoform_prijavnica') and RokSprocket.instances don't exist when the code is executed. You'll need to dig further to see exactly what is happening :-(

Bob
jjspelman 11 Sep, 2013
I have disabled the Chronoforms plug in and sure enough that is what was causing my RokSprocket items not to work (features showcase would not advance slides, list in side bar was not collapsing).

http://unatampa.org/

It is the same plug in that I have been used for ages (V4 RC3.0).

I also left a thread at RocketTheme's site - hopefully we can get this ironed out.?
This topic is locked and no more replies can be posted.