Rafi378 Posted July 1, 2014 Report Posted July 1, 2014 Hi guys, Anyone there who can to fix the problem ACARS Map error? see image Regards, Quote
magicflyer Posted July 1, 2014 Report Posted July 1, 2014 Hi, can you provide the following template codes via pastebin.net, please? acarsmap.tpl found in core/templates or lib/skins/[yourskin] acarsmap.js found in lib/js core_htmlhead.tpl found in core/templates or lib/skins[yourskin] Hopefully we can get this fixed by comparing the default templates and these templates to check for any missing javascript libraries, or necessary call-to functions. Quote
Rafi378 Posted July 1, 2014 Author Report Posted July 1, 2014 Hi thanks for reply, Here is the code in the template : acarsmap.tpl > http://pastebin.com/ntTEesF7 acarsmap.js > http://pastebin.com/dCtEhugd core_htmlhead.tpl > http://pastebin.com/qndDNYZ6 Regards, Quote
magicflyer Posted July 1, 2014 Report Posted July 1, 2014 Hi, It looks like the problem lies in the acarsmap.js file, where you attempted to attach an external JS library within JS code. Fix it up by simply moving the following code found on line 20 of acarsmap.js: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=weather&sensor=false"> </script> To core_htmlhead.tpl by replacing line #35 on there with the code above. I notice you're also wanting clouds over your acarsmap, be sure to have the code found in the link below added right after line #41 on acarsmap.js. http://forum.phpvms....+weather +acars Hope this worked! Quote
Rafi378 Posted July 1, 2014 Author Report Posted July 1, 2014 Hi, Thank you for your answer, now worked Regards, Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.