![]() |
|
Open Street Map in 1.6 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Open Street Map in 1.6 (/thread-13901.html) |
Open Street Map in 1.6 - Ralf - 13-01-2024 Hi, i am a little bit lost with this: Already tried to add: I am pretty sure that printing a map on a page with open streetmap plugin was possible in older zenphoto versions. Would be great if someone points me in the right direction. Thanks Open Street Map in 1.6 - Ralf - 13-01-2024 The turorial here: does not seem to work with 1.6 Open Street Map in 1.6 - fretzl - 13-01-2024 Meanwhile few things have changed.
Open Street Map in 1.6 - Ralf - 13-01-2024 Hi fretzl, thanks for your answer, but i am running into two problems with that code. I changed the code to: which works fine with the zenpage theme. But with the bootstrap theme (current 1.6 ready version", i see the images in the source code of the page, but no map displayed. You can see it on my testpage: and go here: You will see that switching to bootstrap makes the map disappear. Cheers Open Street Map in 1.6 - acrylian - 13-01-2024 I am pretty sure Our fork of the zpBootstrap theme is just generally fixed for the general 1.6+ changes. But not really maintained still. Open Street Map in 1.6 - fretzl - 13-01-2024
Yes, you're right. Open Street Map in 1.6 - fretzl - 13-01-2024 Got it. If you don't want that you can change line 11 in inc_header.php from
to
And the code for the codeblock in zpBootstrap can be as simple as:
Open Street Map in 1.6 - Ralf - 14-01-2024 Hi Fretzl, Thanks for your help. Ralf |