How to change the loading template globally - How to change the loading template globally - Community forums - Akumina Community

Community forums

Forum Navigation
Please or Register to create posts and topics.

How to change the loading template globally

We had a question come up about how to change the loading template globally. You can do this easy:

 

1 - Disable the existing get loading. In your env.js or in the digispace IDS list, set the following constant to false:

LOADER_STEPS_ENABLE_GETLOADINGTEMPLATE

2 - Change the loading HTML. In your env.js or other JS file, set the LoadingTemplateHtml variable:

Akumina.Digispace.ConfigurationContext.LoadingTemplateHtml = "<div class="newloading">loading the widget</div>";

 

Sara Kevorkian has reacted to this post.
Sara Kevorkian

this is very helpful, thank you!

//]]>