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

a smart way to add google maps to pages


Reply

534 Views

Avatar
Nivanka

29 December 2010 at 8:33pm Community Member, 395 Posts

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.