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.
- This topic has 28 replies, 4 voices, and was last updated 8 years, 1 month ago by
Steven Zahm.
-
AuthorPosts
-
01/23/2014 at 4:17 pm #278014
MJA
ParticipantHi
I recently updated Connections and now my Google map on the cMap template isn’t showing anymore.
I get the following error:
TypeError: g(…).goMap is not a functionI had a similar problem before and it was resolved by adding the jquery.gomap-1.3.2.min.js script to the cmap.php page. After the update, the file doesn’t seem to load anymore, though, even though the link is still there.
You can view the error here by opening any of the maps:
http://www.technopark.org.za/directory/business-directoryI’ve got the following setup:
WP Version 3.8
Connections Version 0.7.9.3
Connections cMap – Template Version 3.0.1Can you please advise?
m01/23/2014 at 4:44 pm #278016Steven Zahm
Keymaster@ MJA
The page has changed to the file, now it is:
http://www.technopark.org.za/wp-content/plugins/connections/assets/js/jquery.gomap-1.3.2.min.js?ver=1.3.2
Hope that helps!
03/14/2014 at 5:33 am #282236Regine Endres
ParticipantHi Support
I have the same error, please could you outline a bit more, where I need to add this line or what I need to do?
Thanks
Kind regards
RegineAttachments:
You must be logged in to view attached files.03/14/2014 at 9:42 am #282241Steven Zahm
Keymaster@ Regine
Generally this error is caused due to either an error within the theme’s or another plugin’s JavaScript. Try deactivating all other plugins and change the theme back to the default, temporarily, to see if the issue resolves itself. I’d have to be able to see the page to offer more precise solution.
03/14/2014 at 10:55 am #282246Regine Endres
GuestThis reply has been marked as private.03/14/2014 at 10:59 am #282247Steven Zahm
Keymaster@ Regine
Understood. I’ll take a look and see if there is another solution without touching plugins or the theme.
I just did try to login, but the user/pass failed.
03/14/2014 at 11:04 am #282248Regine Endres
GuestThis reply has been marked as private.03/14/2014 at 11:25 am #282251Steven Zahm
KeymasterI’m unable to edit the template plugin file to to it being unwritable, please change this:
public function __construct( $template ) { self::$template = $template; $template->part( array( 'tag' => 'card', 'type' => 'file', 'path' => $template->getPath() . 'card.php' ) ); $template->part( array( 'tag' => 'card_single', 'type' => 'file', 'path' => $template->getPath() . 'card-single.php' ) ); $template->part( array( 'tag' => 'js', 'type' => 'action', 'callback' => array( __CLASS__, 'enqueueJS' ) ) ); if ( ! is_admin() ) { // Enqueue the frontend scripts and CSS. add_action( 'wp_enqueue_scripts', array( __CLASS__, 'enqueueCSS' ) ); // Update the permitted shortcode attribute the user may use and override the template defaults as needed. add_filter( 'cn_list_atts_permitted-' . $template->getSlug() , array( __CLASS__, 'initShortcodeAtts') ); add_filter( 'cn_list_atts-' . $template->getSlug() , array( __CLASS__, 'initTemplateOptions') ); } }
to this:
public function __construct( $template ) { self::$template = $template; $template->part( array( 'tag' => 'card', 'type' => 'file', 'path' => $template->getPath() . 'card.php' ) ); $template->part( array( 'tag' => 'card_single', 'type' => 'file', 'path' => $template->getPath() . 'card-single.php' ) ); // $template->part( array( 'tag' => 'js', 'type' => 'action', 'callback' => array( __CLASS__, 'enqueueJS' ) ) ); if ( ! is_admin() ) { // Enqueue the frontend scripts and CSS. add_action( 'wp_enqueue_scripts', array( __CLASS__, 'enqueueCSS' ) ); add_action( 'wp_enqueue_scripts', array( __CLASS__, 'enqueueJS' ) ); // Update the permitted shortcode attribute the user may use and override the template defaults as needed. add_filter( 'cn_list_atts_permitted-' . $template->getSlug() , array( __CLASS__, 'initShortcodeAtts') ); add_filter( 'cn_list_atts-' . $template->getSlug() , array( __CLASS__, 'initTemplateOptions') ); } }
The file can be found here:
../wp-content/plugins/connections-cmap/cmap.php
03/17/2014 at 6:48 am #282524Regine
GuestHi Steven
Thanks for the code. I have added it, but it doesn’t make any difference and I still have the same error showing in the log file.
Any other idea?
Thanks
Kind regards
Regine
03/17/2014 at 8:54 am #282527Steven Zahm
Keymaster@ Regine
Does my login work now so I can take a closer look as to way this is not working for you?
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.