Results 1 to 3 of 3

Thread: Fix - Submit job form map

  1. #1
    spartac's Avatar
    Join Date
    May 2011
    Posts
    7,171
    Thanks
    75
    Thanked 830 Times in 808 Posts

    Fix - Submit job form map

    Hi,

    Suddenly today the version 2 of google map api script started to cause a conflict t the google map in the home page header.
    We could fix it, and this fix will be included in the next maintenance release.
    However you still can get it now by editing a core code following these instructions:

    - Open simplux/functions.php , and find this code around #1933

    wp_register_script ('googlemaps', 'http://maps.google.com/maps/api/js?&sensor=false', fasle, '3');
    wp_enqueue_script ('googlemaps');



    - Replace it by this :

    function googlemaphome() {
    if ( is_home() ) {
    wp_register_script ('googlemaps', 'http://maps.google.com/maps/api/js?&sensor=false', false, '3');
    }
    }
    add_action('wp_enqueue_scripts', 'googlemaphome');



    then save the file.

    Now if you refresh , the google map in the header, also the map which is located in submit job form are both working like charm.

    Simplux version: 2.1
    Date: March/25/2014

    Regards
    Last edited by spartac; March 26th, 2014 at 06:13 AM.
    Do you need high-quality content for your Website? For a significantly reduced price? Try aicontently.com






    We answer the questions in threads as fast as the private messages, So do not send support questions via private message. Use the forum instead and open a new thread for every issue.
    Before you send any PM , Please read These rules .

  2. The Following User Says Thank You to spartac For This Useful Post:

    circlewebmedia (March 26th, 2014)

  3. #2
    Affiliate Member AppThemes Affiliate mtanveer07's Avatar
    Join Date
    Dec 2012
    Location
    Oman
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #3
    circlewebmedia's Avatar
    Join Date
    Apr 2013
    Location
    UK
    Posts
    71
    Thanks
    42
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [MOD NEEDED] Adding Location option to Submit coupon form and Modding Form
    By rrichardson2506 in forum Clipper General Discussion
    Replies: 0
    Last Post: October 11th, 2013, 02:56 AM
  2. Replies: 5
    Last Post: February 25th, 2013, 11:30 AM
  3. add new field to submit-job-form.php
    By berletzis in forum JobRoller General Discussion
    Replies: 1
    Last Post: October 24th, 2012, 10:11 AM
  4. Submit a job form all on one page
    By corecruitment in forum JobRoller General Discussion
    Replies: 1
    Last Post: June 22nd, 2012, 02:21 PM
  5. [SOLVED] Submit job form not working
    By susgov1 in forum JobRoller General Discussion
    Replies: 3
    Last Post: March 2nd, 2011, 04:52 PM