Locations has still got me a little perplexed. It's a cool extension I just can't get my head wrapped around how to fully use it. I'd like to show a location of a venue and so far I have this:
http://pastie.org/739264 which shows the first location on the list if the page type is set to "location finder". I'd like to use a snippet like this on all venue pages and show a map of the location maybe by having the location's page path equal to this page. I also thought something comparing the name of this page against the names of the locations might work. Is there a set way to go about this? Steven On Dec 10, 2009, at 10:49 PM, Jim Gay wrote: > Have you tried the pastie that I listed in your previous thread? It > includes code to pull from the Google Maps API without any API key > necessary. It assumes jQuery, but you could easily change it to any > other library or none at all. > http://pastie.org/734017 > > <r:locations:each> is available on every page. > > On Dec 10, 2009, at 11:39 PM, Steven Southard wrote: > >> That's great news. Yes, I am using your fork, thank you for making >> it. I looked around a little and I'm not sure how to make locations >> available to all page types. Right now if I don't have "location >> finder" selected I don't get a map. I want to use "event archive" as >> my page type. >> >> Steven >> >> >> >> On Dec 10, 2009, at 8:29 PM, Jim Gay wrote: >> >>> Are you using my fork of the location extension? Because you can do >>> exactly that. >>> >>> http://github.com/saturnflyer/radiant-location-extension/ >>> >>> On Dec 10, 2009, at 6:38 PM, Steven Southard wrote: >>> >>>> I'd really like to have a map and a list of events on the same >>>> page. >>>> I initially had the page as event archive showing it's children as >>>> events but I also wanted to add a map using locations. I'd really >>>> like to use more than one page type. This use to happen to me with >>>> mailer then an awesome thing happened and you no longer needed to >>>> choose mailer for page type. Is there a way to make locations >>>> available on all pages? >>>> >>>> Steven >>>> http://www.stevensouthard.com >>> >>> Jim Gay >>> http://www.saturnflyer.com >>> > > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
