Page 1 of 1

loading animation changes

Posted: Wed May 24, 2017 5:01 am
by Steve Bone
I am trying to use the following line in the settings file of our genie skin:

pui["loading animation"]["text"] = "<i class='fa fa-cog fa-spin fa-4x'></i><b class='KN-blkBld'>Loading...<b>";

However, it does not work anymore since we updated from Version 5.6.1 to Version 5.9.0
In your change logs I found the line "Updated loading animation to use CSS" in Version 5.9.0
I have not found anything in the wiki about this new loading animation settings mechanism.
Am I using the settings file wrongly by adding a html element in the loading screen via the text property?

Re: loading animation changes

Posted: Wed May 24, 2017 3:58 pm
by Niral Pokal
Hello Steve,

Sorry you are having troubles with the loading animation. In order to disable the CSS loading animation, you can place the following setting in your settings file:

pui["loading animation"]["css"] = null;
pui["loading animation"]["text"] = "<i class='fa fa-cog fa-spin fa-4x'></i><b class='KN-blkBld'>Loading...<b>";

This should disable the CSS animation and then use your loading text animation.
In addition we will add this information to the documentation page.

Please let us know if this works for you!