D
D
Daniil Vershinin2019-03-11 14:17:00
JavaScript
Daniil Vershinin, 2019-03-11 14:17:00

JS+October CMS how to set path in assets?

On October I use UI Kit MDB, you need to insert a preloader

<div id="mdb-preloader" class="flex-center">
  <div id="preloader-markup">
  </div>
</div>

With standard IDs, it should immediately work (I don’t even need to initialize JS-cat according to the documentation), but the problem is that somewhere in the curly scripts there is a strange link to the preloader html code 5c86432a7b30b810584964.png
. All files are in assets. I tried to stupidly drive it to the root of the site, but the October campaign does not give permission to these folders.
What to do?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Daniil Vershinin, 2019-03-11
@Titamik

I put such a crutch, but still I want to know how to solve this problem correctly
5c86451120bdf295636342.png

A
Adamos, 2019-03-11
@Adamos

Push this html into partials and include it on the desired page in pages or, if it is needed everywhere, in layouts, like the rest of HTML?

N
Nikita Khaetsky, 2019-03-19
@ReaZzon

The OctoberCMS community in Runet has a special forum where they can also help you: https://octoclub.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question