Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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?
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.
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?
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.