Hi,
I'm sure this is simple but I just can't seem to get my head around it.
I have a template walk_segments which has two page reference fields start_town and end_town. Both of those fields reference walk_towns which has a Maps Marker field called marker.
I would like to get a map in the Walk Segments which has markers for both the start_town and end_town. I can't figure out what to put in the selector to get that.
$items = $pages->find("template=walk_towns, marker!='', $page->start_town, sort=title");
$map = $modules->get('MarkupGoogleMap');
echo $map->render($items, 'marker');
Any help would be most appreciated!
Heather