Picture of Juan Pérez
Re-enter to a chapter failures
by Juan Pérez - Thursday, 2 March 2017, 3:20 PM
 

Hi,

I am using Adapt Framework last version and several extensiones and components:

Components:

1) Hot grid, 2) Tabs, 3) Stacklist, 4) Flipper

Extensions

1) adapt-background-switcher, 2) adapt-articleBlockSlider, 3) Trickle

Problem

When i change of chapter, the screen not show anithyng, and is necesary reload the page.  Obviously when the user work in Moodle (for example) is very complicated for them.

See here:  http://adapttest.jpsolucionesdigitales.com/planea/ciudadano1

Can anyone help me? I am new in Adapt Framework.

Thank´s

Picture of Matt Leathes
Re: Re-enter to a chapter failures
by Matt Leathes - Friday, 3 March 2017, 12:14 PM
 

Hi Juan

First thing to do when you run into anything like this is to press F12 to open your browser's developer tools and look in the console to see if you have any errors.

In this case you'll see that when you change pages you've got the following error:

TypeError: this._blockModels is null

Unfortunately it's 'black boxed' so the source code can't be viewed. If you build your course with $ grunt dev then you will be able to click on the code reference next to the error to jump to where in the code the error is.

However, I do know that _blockModels is a property in background-switcher so it's most likely to be something wrong with that. Best to check you definitely have background switcher configured properly.