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.

All other Modules

Discuss all other Modules here.

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

googlemapselectionfield code error


Reply

4 Posts   936 Views

Avatar
omaticon

18 August 2009 at 11:52am Community Member, 6 Posts

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!

Avatar
Willr

18 August 2009 at 5:22pm Forum Moderator, 5511 Posts

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.

Avatar
omaticon

19 August 2009 at 3:59am Community Member, 6 Posts

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?

Avatar
Willr

19 August 2009 at 10:44am Forum Moderator, 5511 Posts

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.