Jump to:

10930 Posts in 2613 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » googlemapselectionfield code error

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 916 Views
  • omaticon
    Avatar
    Community Member
    6 Posts

    googlemapselectionfield code error Link to this post

    When I attempt to use the googlemapselectionfield extension in silverstripe 2.3.2 with userforms 0.2, spamprotection 0.2 & mollom 0.2 I get the following error:

    this page contains the following errors:

    error on line 97 at column 1238: EntityRef: expecting ';'
    below is a rendering of the page up to the first error.

    This page can be viewed at www.geocool.info/contact-us

    Does anyone have any suggestions?

    Thanks!

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: googlemapselectionfield code error Link to this post

    Sounds like an xml error. Remove the <?xml header in your template (themes/themename/templates/Page.ss) and that should at least make your page work. You might like to then validate the page and find out where in the html the error is occurring and if it is a bug in the outputted html.

  • omaticon
    Avatar
    Community Member
    6 Posts

    Re: googlemapselectionfield code error Link to this post

    Excellent, Will! That fixed the problem. Now, just one last quick question... Is this extension easily modifiable to include the map graphic when the form is e-mailed/submitted?

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: googlemapselectionfield code error Link to this post

    Well I am not sure if we can get the image from the code. I haven't looked at the google api but I doubt it. I think users just have access to the url / link to the map.

    916 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.