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.7.8.1, cMap, google maps api, map, wp_footer()
- This topic has 27 replies, 4 voices, and was last updated 12 years, 3 months ago by
Donny.
-
AuthorPosts
-
08/16/2013 at 8:23 am #267380
Joshua Thurman
GuestHmmm… I did leave the option enabled as you said, and also checked the Google Maps API box. It’s still not working. Does it make any sense to check the box which loads the Java Scripts into the header instead of the footer?
08/16/2013 at 12:46 pm #267403Steven Zahm
Keymaster@ Joshua
Ok, I see that all the required script are now present, so that good. Now I see the issue.
You know that little green float that highlights the current page that moves when you hover over another page. That is done by javascript. There’s an error in the javascript, right here:
$magicLine .width(jQuery(".current-menu-item, .current-menu-parent, .current_page_parent").width()) .css("left", jQuery(".current-menu-item, .current-menu-parent, .current_page_parent").position().left+30) jQuery("#magic-line").fadeIn('slow') .data("origLeft", $magicLine.position().left) .data("origWidth", $magicLine.width());It should be checking for the existence of
.current-menu-item, .current-menu-parent, .current_page_parentbefore trying to manipulate those classes with javascript.When you on any of the subpages in the directory, those classes do not exist and so the javascript is failing which in turn is preventing other javascript from running, including Connections.
I think if you change it to the following, that will fix it:
$("li.menu-item").hasClass("current-menu-item") { $magicLine .width(jQuery(".current-menu-item, .current-menu-parent, .current_page_parent").width()) .css("left", jQuery(".current-menu-item, .current-menu-parent, .current_page_parent").position().left+30) jQuery("#magic-line").fadeIn('slow') .data("origLeft", $magicLine.position().left) .data("origWidth", $magicLine.width()); };08/16/2013 at 4:58 pm #267425Joshua Thurman
GuestTHank you Steven! I will certainly try it and let you know how it works. Again, thank you for your help. You have been very kind!
08/17/2013 at 10:43 am #267446Joshua Thurman
GuestI copied that code to override the exiting code in the .js file where I found it. Sadly, it didn’t do anything to fix the issue.
Now that the new .js file is uploaded, should I change any of the settings in Connections (ie. load Java Scripts in the header, etc.)?
I still can not see the map or notes. And the alphabetical listing at the top also is still not working. For example if I want to jump from the first page to all listings beginning with “S” it will not work.
Thanks very much for your help. I’m still unsure what to do from here…
JT
08/17/2013 at 12:52 pm #267448Joshua Thurman
GuestThat should say “existing” not “exiting”
08/18/2013 at 8:30 pm #267475Steven Zahm
Keymaster@ Joshua
Connections seems to be working fine now. The map links are working and the one entry I could find with notes worked too.
However, seems there was a minor typo in the code I gave you. Use this:
if ( $("li.menu-item").hasClass("current-menu-item") ) { $magicLine .width(jQuery(".current-menu-item, .current-menu-parent, .current_page_parent").width()) .css("left", jQuery(".current-menu-item, .current-menu-parent, .current_page_parent").position().left+30) jQuery("#magic-line").fadeIn('slow') .data("origLeft", $magicLine.position().left) .data("origWidth", $magicLine.width()); };After you upload the modified code, make sure you force refresh or open a private browsing window to test otherwise the browser will use the locally cached version instead of the new version.
Lastly, the character index, is functioning. It only jumps to the character clicked if it is on the current page of results. For example, go to page 10 in your directory, click the letters; Q, R, and S. You’ll see that it is working. The character index does not filter by character. Older versions of the template showed only the actual characters that were on the page, but I’ve received more requests than I can count to have the entire alphabet show even after explained it would not work as expected to those requesting it. I don’t feel this is good user experience and I am working on a better overall solution which will enable filter by character just like the admin. Actually, the work down in the admin is the first step.
08/19/2013 at 8:28 am #267500Joshua Thurman
GuestThank you Steven. I realized that after I uploaded the modified code and went to test it I was still logged into WordPress. I think that perhaps that’s the reason that I wasn’t seeing the results. I will paste your updated code and re-upload. Thank you tremendously for your help. I very much appreciate it. I don’t often find developers who are as committed to getting a problem solved as you are. Thank you sir.
If any updates to the alphabetical listing become available I will be sure to download and implement them!
Thanks!
JT08/19/2013 at 10:59 am #267509Steven Zahm
Keymaster@ Joshua
Many thanks!
If you have a moment, I would truly appreciate a review. They do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections10/29/2013 at 12:56 pm #272554Denise
GuestHi. I just updated WP to V 3.7 and now nothing works in Connections.. ie, map, bio… I’ve tried the things mentioned above. Help. Thanks.
10/29/2013 at 1:13 pm #272556Steven Zahm
Keymaster@ Denise
Are you using a some sort of plugin/shortcode for the link “this handy form.” to make it a lightbox. Please try removing it. I believe it is that which is causing a fatal javascript error on that page. An error which is potentially causing a good amount of other javascript from running too, not just Connections/cMap.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
