A howto on using the Page List block to output a Google Map
Permalink 1 user found helpful
Hey all,
I've recently published part one of a two part blog post explaining how to create a dynamically updating Google Map from a custom block template for the Page List block.
http://www.mesuva.com.au/blog/concrete5/turning-the-page-list-block...
The Page List block can be used for so many purposes - I thought this was a really good example of how flexible it is. If you're a concrete5 novice you might find this a really good example for how useful custom block templates can be, or if you're more experienced, at least find it to be handy code or an interesting idea.
In part two I'll cover how to make concrete5 automatically geocode an address on the publish of a page. I've written it, I'll publish it soon, as well as put an add-on on github that does this.
(this post is for 5.6, I'll update it for 5.7 in the future once I've actually done this kind of thing on 5.7)
Cheers
-Ryan
I've recently published part one of a two part blog post explaining how to create a dynamically updating Google Map from a custom block template for the Page List block.
http://www.mesuva.com.au/blog/concrete5/turning-the-page-list-block...
The Page List block can be used for so many purposes - I thought this was a really good example of how flexible it is. If you're a concrete5 novice you might find this a really good example for how useful custom block templates can be, or if you're more experienced, at least find it to be handy code or an interesting idea.
In part two I'll cover how to make concrete5 automatically geocode an address on the publish of a page. I've written it, I'll publish it soon, as well as put an add-on on github that does this.
(this post is for 5.6, I'll update it for 5.7 in the future once I've actually done this kind of thing on 5.7)
Cheers
-Ryan
Excellent. Will have a read of this today!
This is very cool, thank you.
Wow! That's really cool. Definitely have use for something like that. Thanks for sharing, Ryan!
For anyone who found this interesting, part two is up:
http://www.mesuva.com.au/blog/concrete5/turning-the-page-list-block...
http://www.mesuva.com.au/blog/concrete5/turning-the-page-list-block...