If anyone's still wondering how to have a bit more control over the gmapsinfobox snippet (like pull in multiple tv values, use a tpl chunk etc.) then you can perhaps do what i've done, which is make a new snippet, slightly customised to still REQUEST the id var, but then run that var as the resource id in a getresources call ran from within the snippet.
so like this: ( i named mine gmapsInfoboxGR)
<?php
global $modx;
if (isset($_REQUEST['mkrid'])) {
$mkrid = intval(strip_tags($modx->sanitizeString($_REQUEST['mkrid'])));
$output = $modx->runSnippet('getResources',array(
'resources' => $mkrid,
'tpl' => 'jobTPL',
'includeTVs' => '1',
'tvPrefix' => '',
'showHidden' => '1',
));
return $output;
}
And then run this snippet on your infobox page instead of the normal one. This'll let you run any getresource parameters you like (you could even get a little crazy and start calling in 'related' items in your map or things like that) and it all seems to work well for me. This might be a bit of a sledgehammer to crack a nut, so if anyone can advise a better solution then i'd love to hear it. I'm no hardcore coder but i seem to have a bit of a knack for fixing problems with the tools at my disposal..its not always so elegant though!
Note that if you're using a 'blank' template, then you might need to set the <base> href in order for things to show. Also the way ive set up my params is unique to my need, remember you may need/or-not-need a tvprefix etc.
hope it helps somebody,
cheers,
Dave.
[ed. note: sqinnybuild last edited this post 13 years, 9 months ago.]