Can't get Google maps to show with the Site Publisher
I just built a demo site for the Site Publisher ecommerce-web-hosting.com
But when I add the Google url it will not show the map:
google.com/maps/place/WebHost.Pro/@34.0483757,-118.2570781,17z/data=!3m1!4b1!4m5!3m4!1s0x80c2c7b4ed60c7f7:0x2332514680b9f2f5!8m2!3d34.0483757!4d-118.2548894
Any idea what I am missing?
Also is there a way to add a link in the about section?
Thanks!
Charley
-
This blog post should be of some use: Quick Start Guide to Site Publisher Templates | For Hosting Providers and Resellers | cPanel Blog 0 -
lol Can you not send a link to something that does not answer the question and maybe just use your thoughts? I already saw the page and it does not help. And my god, just try to be human. 0 -
And my god, just try to be human.
Ouch. The link was meant to be helpful to give you some ideas for making your own template style. Whatever the available forms are for that default template is all you can do with it. Output is sanitized when you save the form I believe and is probably why your map link won't work. If you want more, you'll need to make one with more options, like the one I linked you to for example. At the bottom of that blog post is a link to the full docs with more information, meant to be helpful too. My apologies that I don't have a single command to give you that adds some lines of code that makes your map work the way you want. This Feature is new and coming along really well. Feature Requests to make it better are always accepted. Have a nice weekend!0 -
Thanks, maybe I'm putting the URL string wrong? I would think it has worked for someone for it to be a live option. Can you ask the person who is in charge of the program? I guess I can add a ticket just seems like something simple and I can't be the only one. 0 -
Also there is no information on the map option in the docs or the page. I think you might have to ask someone for this there. 0 -
Hello @DWHS.net, I tested this out and confirmed the map loads, however it's important to note you must follow the instructions on the following URL to get the correct Google Maps URL: Embed a map or share a location - Computer - Google Maps Help Use the specific URL that's generated from "Step 6" in these instructions. Thank you. 0 -
O.K great, I was able to hack it from that. If you use the ebed code you need to remove these parts:
Remove this: So choose embed but remove the tags:https://www.google.com/maps/embed?pb=!1m13!1m8!1m3!1d13307.123310091689!2d-111.93436355!3d33.507079!3m2!1i1024!2i768!4f13.1!3m2!1m1!2sWebHost.Pro!5e0!3m2!1sen!2sus!4v1478637795021
That did it, thanks!0
Please sign in to leave a comment.
Comments
7 comments