Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Google Map Selection Field

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1189 Views
  • Ben_W
    Avatar
    Community Member
    80 Posts

    Google Map Selection Field Link to this post

    I have downloaded and installed Google Map Selection Field module, but couldn't make it work.

    I have add the following line in the _config.php
    EditableGoogleMapSelectableField::$api_key = 'ABQIAAAAdc7-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';

    and inside one of the page type in the cms, I have added the following:

    $fields->addFieldToTab('Root.Content.GoogleMap', new GoogleMapSelectableField('MyMap'));

    The tab and field show up correctly, however every time I fill in the address and click 'go' button the page go blank, the url shows that its calling the EditForm function. what should I do to get this field to work properly?

    Thank you for taking your time to read this.

  • Miles
    Avatar
    Community Member
    14 Posts

    Re: Google Map Selection Field Link to this post

    I get the same issue. I believe it comes down to the required js not being included in the module. I'm troubleshooting this now. If I come up with something I'll post here.

    1189 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.