I am using 68 classifieds to create a site for listing yard sales.
Using
phoogle I have been able to place a map button in viewlisting.tpl so that someone can view a google map of the yard sale.
What I am wanting to do is place this same button on showlistings.tpl so that a user can view all sales returned by their search on a map.
I am calling the map by passing a parameter in the url to map.php which is a string of the address (map.php?id={$strAddress})
This works great for a single address but I need to get the addresses from all the listings concatenated into one string seperated by a semi-colon.
I'm not sure that Smarty has a concatenation function so I don't think I can just loop through $results and build the string.
Any suggestions?
here are some links to demonstrate what I am trying to do:
listings page
Single listing with working map
Thanks,
Brian