FriendsOfFlarum Pages

datitisev

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

datitisev

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.

MikeJones

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?

maruco

wow nice, thank you

datitisev

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.

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

neogeo

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)

datitisev

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.

thomasarnold81

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.

datitisev

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.