Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 0.8.2, cMap, google maps api
- This topic has 6 replies, 2 voices, and was last updated 12 years, 3 months ago by
Steven Zahm.
-
AuthorPosts
-
05/01/2014 at 11:20 am #289841
will wilson
GuestThe notes toggle is not working after the most recent update v 0.8.2. See this page for example:
http://www.collectorsbluebook.com/collectlinks-resource-center/
Thanks
Will05/01/2014 at 11:25 am #289843will wilson
GuestUpon further review, this is a conflict with the Autoptimize plugin. Please advise the javascript utilized for the notes and bio toggle feature so that I can exclude from optimization script.
05/01/2014 at 12:07 pm #289845Steven Zahm
Keymaster@ will
It’s a bit difficult to tell from the pages source since it’s been minified … but it seems the Google Maps API scripts are not being loading on the page and since it does not exist, it is causes the error the make the processing of JavaScript stop. Make sure to clear you page cache too.
The script name for cMap is cmap.min.js but because of what I previously mention, exluding it is not likely to fix it.
This is the required order of scripts:
http://maps.googleapis.com/maps/api/js?sensor=false
/wp-content/plugins/connections/assets/js/jquery.gomap-1.3.2.min.js
/wp-content/plugins/cmap/cmap.min.jsHere’s something I just thought of …
The maps api should be needed until the show map link is clicked on the template, which you have turned off, so the error should occur until the link is clicked…
I see you have Events Manager. I know that requires the maps api, so maybe that is where the error is being triggered???
Any way, what I do know, is something is calling the maps api, since it doesn’t exist on the page, an error is occurring which is stopping the javascript from running past the point of the error.
You can see the error by loading the page in Chrome, hitting the F12 key and then clicking the Console tab. It’ll be the error “Uncaught ReferenceError: google is not defined”
Hope that helps!
05/01/2014 at 2:28 pm #289862will wilson
GuestHi Steven….Thanks for the quick response….actually, the last update you pushed through (0.8.3) fixed the issue….
and fyi, I found that adding the following to the Autoptimize Do Not Optimize Java field fixed the issue too (as I discovered it was also happening on the form:
“connections,connections-form”
I don’t have the maps enabled because I do not use them for connections, but I will definitely enable and check the results.
One more issue..but I will make a new post as it is of a different nature.
Regards
Will05/01/2014 at 2:51 pm #289864Steven Zahm
Keymaster@ will
Not sure how 0.8.3 could have fixed it as … wait … yeah, I know how it fixed it now, you have Form. I changed the registration name of a script which broke Form, I re-added the handle in 0.8.3. Guess that could have done it.
Great to hear this resolved it!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections05/01/2014 at 5:36 pm #289893will wilson
GuestAs it turns out it didn’t. I had forgot to reactivate the Autoptimize plugin. I did as you suggested and turned on the google maps api…AND THAT DID FIX THE ISSUE! YAY!
05/01/2014 at 5:56 pm #289901Steven Zahm
Keymaster@ will
Ok, I’m lost, but it works, that’s what counts! there must be a dependency I’m missing when looking at the code.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
