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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

a smart way to add google maps to pages


Go to End


838 Views

Avatar
Nivanka

Community Member, 400 Posts

29 December 2010 at 8:33pm

Hi all,

I have been doing some codes for a site, to have google maps on its pages, this is a basic thing I know, yet I would share the code, then it saves your time :)

find the code here

https://github.com/fonsekaean/Google-maps-page-for-SilverStripe/

with this I bundled all the data, and logics to a dataobject decorator. and what matters is that you can extend any page type by decorating with the module.