Whilst having difficulties implementing a Google Maps Plugin to work with the 128Bit website, I started digging around, analysing the source code and wondering why when I was putting in the text {mosmap}
on the pages, that it just was not displaying the google map where it was supposed to.
After careful investigations of the source code, I noticed that in the Javascript, there was a suspicious line with the following incorrect syntax:
if (formObj.dirflg.checked) {
Noticing this, I thought that this was a bug in the code. After analysing the plugin_googlemap2.php file, the lines were displayed as:
if (formObj.dirflg[i].checked) {
What this meant was there was another plugin that was interfering with the [i] code. The 128Bit website has a plugin called RokCandy installed, which provides BBcode-type functionality into Joomla. It changes preset syntax, such as [example] to the relevant HTML code, once Joomla parses the article.
If you have this installed, you will need to disable the [i][/i] macro to prevent it converting it to an tag. This can be done via Components > RokCandy > Macros, then disabling the [i][/i] macro. Of course, you will need to double check first that your code does not rely on this macro, otherwise you can substitute this to something else e.g. [italics][/italics].
This is what allowed me to overcome the issue of a non-displaying Google Map in Joomla for me. Your implementation may differ to mines as it could be conflicting with another script besides RokCandy. Even so, I would like to hear how you fixed this issue on your site and be kind enough to share it with others.
This should also assist in helping a large number of uses who are commenting and following instructions from the Good Web Practices website too.
I have been fortunate in working a lot more with Kubernetes lately over the last few months so I've been…
Building my portfolio site, I thought I'd show you how I set up my Wordpress development using Docker. Given the…
Frustrated with getting blank images in Puppeteer Chrome screenshots, recently I was in a situation where I needed to migrate…
It has been six year since my last major revamp/redesign of my current petertran.com.au portfolio site. So what are my…
This article helps to solve a Bad owner or permissions on .ssh/config issue occurring on a Windows 10 machine when…
Only a few lines of code required is to implement a payment system, thanks to inline Pin Payments integration. Accepting…