datitisev hmmm so I am trying this out now and want to embed a mapbox map:

If you go to my page here: https://www.seekadventure.net/p/1-adventure-map

My map does not show up, but if I click the title "Adventure Map" On that page then the map pops up!

Not sure why the map isn't there on the first load...

I have a hunch that its because this code for embedding the map is supposed to go in the page head:

<script src='https://api.mapbox.com/mapbox-gl-js/v0.52.0/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v0.52.0/mapbox-gl.css' rel='stylesheet' />

But I just put it in the body. If this is the case can you add an option to allow us to edit the head tags on the pages html?

    Hi Developer,
    I just installed your extension, but unfortunately when I create Page, nothing is created. That means, I give titles, the slug is created automatically and some content. But there is no page appearing in the options of this extension under Pages.

    What am I doing wrong? Thank you.

      AlexL777 Do you get an error? I haven't had any issues with it.

      MikeJones Yeah, the javascript on the page is loaded after the page's content loads, so the only way to solve that would be to have an external page that just has the map. There's no way to check if a JS file has loaded or not, so having a field for JavaScript wouldn't solve your issue.

        MikeJones The issue here is, there's no way to check that the JS has loaded before loading the content of the page. The only solution here that I can see would be to add the JS code to the <head> on every page, handled by Pages or not.

          datitisev So should I just manually edit the page header in nano then, would that be my best bet?

          If so whats the file path to the pages created with this extension?

            MikeJones The content is not located on a file, but in the database. As I said, the only thing you can do from the forum itself would be to add the script to the Custom Header setting and load it on every page load.

              Installing this app breaks my flarum. Don't know why. I'm on beta8 now. can someone help?

                collins enable debug and check for an error. Otherwise look at storage/logs/flarum.log

                  This extension works on 8.1 ? because when I activated this ext. appears a red error notification.

                  Also I can't remove this extension (via admin or composer/terminal)

                    neogeo Uuh, yes it works on beta 8.1. What's the error you are getting? I haven't had any issues with it. Try turning on debug mode and see if it gives any more information.

                    Fantastic Gents.

                    One question - how do you make a link appear to access the page from the front end? I'd like to add an instructions page but I'm not php equipped to add this directly onto the web page. Something like the Home | Donate | Guidelines at the top of this site would be perfect.

                      MikeJones In the Admin > Appearance page. Again, I do not recommend this because it will increase page load times... but I don't see any other alternative. Also, if you need further help, please create a separate discussion as it's filling this one with just support for your map embed.

                      thomasarnold81 Like Sijad's Links extension? FriendsOfFlarum will publish it for beta 8 soon.

                      luceos This is what i See on flarum.log. I try to activate the app on my dashboard but it wont activate and says "something wrong..."

                      [2019-01-06 12:59:08] production.INFO: pagination {"sort":"-downloads","filter":{"is":["-flarum"]},"page":{"number":1}}

                      update: This issue is resolved now. Had to drop the existing Sijad tables form my db and uninstalled the old extension before reinstalling. Thanks