Advertisement
Embed google map in custom module Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 36
- Joined: Sat Feb 25, 2012 12:21 am
Embed google map in custom module
Hello,
I am trying to embed a google map in a custom module. in the front end it is displaying the code and not the map.
I have tied deleting the "iframe" in prohibited restrictions in tinymcl editor already.
I also have another site using JCE editor with same issue.
any direction is appreciated.
Thanks,
Brian
I am trying to embed a google map in a custom module. in the front end it is displaying the code and not the map.
I have tied deleting the "iframe" in prohibited restrictions in tinymcl editor already.
I also have another site using JCE editor with same issue.
any direction is appreciated.
Thanks,
Brian
Advertisement
- pe7er
- Joomla! Master
- Posts: 25139
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Embed google map in custom module
Could you check the browser console for any errors?
Do you have the HTTP Headers plugin enabled, with Content Security Policy (CSP) enabled?
Do you have the HTTP Headers plugin enabled, with Content Security Policy (CSP) enabled?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Apprentice
- Posts: 36
- Joined: Sat Feb 25, 2012 12:21 am
Re: Embed google map in custom module
I enabled the CSP.
Then I did browser console and got the following:
operator.dancefactorstudios.com/:1 The Cross-Origin-Opener-Policy header has been ignored, because the URL's origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the 'localhost' origin instead. See https://www.w3.org/TR/powerful-features ... thy-origin and https://html.spec.whatwg.org/#the-cross ... icy-header.
7[Deprecation] -ms-high-constrast is in the process of being deprecated. Please see <URL> for tips on updating to the new Forced Colors Mode standard.
7[Deprecation] -ms-high-contrast-adjust is in the process of being deprecated. Please see <URL> for tips on updating to the new Forced Colors Mode standard.
46Third-party cookie will be blocked in future Microsoft Edge versions as part of unpartitioned third-party cookie deprecation.
Then I did browser console and got the following:
operator.dancefactorstudios.com/:1 The Cross-Origin-Opener-Policy header has been ignored, because the URL's origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the 'localhost' origin instead. See https://www.w3.org/TR/powerful-features ... thy-origin and https://html.spec.whatwg.org/#the-cross ... icy-header.
7[Deprecation] -ms-high-constrast is in the process of being deprecated. Please see <URL> for tips on updating to the new Forced Colors Mode standard.
7[Deprecation] -ms-high-contrast-adjust is in the process of being deprecated. Please see <URL> for tips on updating to the new Forced Colors Mode standard.
46Third-party cookie will be blocked in future Microsoft Edge versions as part of unpartitioned third-party cookie deprecation.
- imanickam
- Joomla! Master
- Posts: 28267
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Embed google map in custom module
I would suggest trying the module of the type Wrapper. I have used this module type to display the Google Map location in two different sites.
As you may notice from the following image that one of your map is shown. I used the module of the type Wrapper and following is the URL I have used.
As you may notice from the following image that one of your map is shown. I used the module of the type Wrapper and following is the URL I have used.
Code: Select all
https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2920.026699188055!2d-81.6268613233677!3d42.95664177114368!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x882f0417c1873c25%3A0x512a11ec981ab535!2sDance%20Factor%20Studios%20Ltd!5e0!3m2!1sen!2sca!4v1726324562023!5m2!1sen!2sca" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"
You do not have the required permissions to view the files attached to this post.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
- Nidzo2203
- Joomla! Explorer
- Posts: 329
- Joined: Sat Nov 21, 2009 4:52 pm
- Contact:
Re: Embed google map in custom module
Did you checked Prepare content option in custom module?
- Per Yngve Berg
- Joomla! Master
- Posts: 31281
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
-
- Joomla! Apprentice
- Posts: 36
- Joined: Sat Feb 25, 2012 12:21 am
Re: Embed google map in custom module
I tried the wrapper module instead of costume module. The Wrapper module did not load and gave a message:
www.google.ca refused to connect.
www.google.ca refused to connect.
-
- Joomla! Apprentice
- Posts: 36
- Joined: Sat Feb 25, 2012 12:21 am
Re: Embed google map in custom module
I figured out the wrapper module. When I copied the share link from the google maps site I copied the embed code and it put iframes in the code. Once I put the proper link code in it worked.
Thanks
Brian
Thanks
Brian
Advertisement