Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Punch
  • #229060
    Sturge08
    Member
    Post count: 75

    The contact page map icon, when double clicked shows a larger Google map page. Currently this Google map page just gives compass coordinates 52°48’53.7″N 2°05’10.9″W and not the proper Google page which should look like the attached screen grab.

    How do I make it so the map icon opens the proper full content loaded Google maps page?

    Attachments:
    You must be logged in to view attached files.
    #229344
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    This customisation would require you to edit the file /js/functions.js.php.

    On line 329 you will need to replace this window.location.href = 'http://maps.google.com/maps?q='+companyPos; with the URL of your choice.

    Ex: window.location.href = 'http://google.com/';

    Thanks,
    David.

    #229643
    Sturge08
    Member
    Post count: 75

    Hi David

    That worked a treat – thank you so much.

    #229645
    David Martin – Support
    Moderator
    Post count: 20834

    No problem, happy to help you!

    – David.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.