Hi,
I would like to exclude some js files and tried to add them to the 'Skip Elements' box.
Example:
zp-core/zp-extensions/openstreetmap/leaflet.js
But I cant get the leaflet.js excluded from beeing moved to the bottom of the page.
Not sure what exactly is the correct syntax for adding an js exclusion. Tried the full path like above or simply leaflet.js
But this does not work.
Any hints?
Ralf
To be a little more precise what is exactly the problem on my site:
I have created a page which shows all geotagged images on a map by using this code:
As soon as I enable the Tidy Assets plugin, the map will not be loaded.
What makes me wondering:
On the image page the map is displayed fine - even with the plugin enabled
Have you tried the absolute URL to exclude leaflet.js?
https://www.ralf-kerkhoff.de/zp-core/zp-extensions/openstreetmap/leaflet.js
It seems, that it is the album.
I have created the album this way:
https://www.vincentbourganel.fr/news/map-of-geo-localized-pictures/
If I choose another dynamic album the map is displayed fine.
Did you perhaps put the code to call the OpenStreetMap in the page codeblock 1 ?
If so, remove it from codeblock 1 and copy it to codeblock 3
The multiverse theme has printCodeblock(1) in the section and since `printOpenStreetMap()` also prints a element you could be in trouble because that is not allowed in the `section. If you look atpages.phpin the multiverse theme you'll see thatprintCodeblock(3)` is called after the page content.