Jump to content

Testing for custom values in infowindows


Tim

Recommended Posts

Hi,

 

Is it possible to test for a custom field in a map info window? ie.

 

<?php if (in_array('jr_price', $CustomFields->fieldValue('jr_price',$listing))): ?>
    £ <span class="jr-map-jr_price"></span>
<?php endif; ?>

 

The $listing object doesn't seem to be available.

 

also

 

Is it possible to return the Category within php in the 'map_infoWindow.thml' as well?

 

Thanks

 

Link to comment
×
×
  • Create New...