Penny Posted July 18, 2013 at 01:30 PM Share Posted July 18, 2013 at 01:30 PM Hi I've noticed in version 2.4 the distance value: $CustomFields->field('jr_gm_distance',$listing); doesn't show up when you're viewing the results of a proximity search. Seems it's listing the items in terms of whats closest starting first though. I'm using template overrides (which is functioning fine for all other areas) and have added the following code into the 'templatenamehere/listings/listings_blogview.thtml' under the '$listings' foreach area in the 'jrListingContent' div container: <?php $distance_value = $CustomFields->field('jr_gm_distance', $listing); ?> <?php if($distance_value && $listing_order == 'proximity'): ?> <div class="jrModuleFieldDiv jrDistance"> <span class="jrModuleFieldTitle"><?php echo $CustomFields->label('jr_gm_distance', $listing); ?>: </span> <span class="jrModuleFieldValue"><?php echo $distance_value; ?></span> </div> <?php endif;?> I commented out the IF statement to see whats going on and the $CustomFields->field(param,param); function seems to be returning a null value... any ideas? Thanks! Link to comment
Alejandro Posted July 18, 2013 at 02:22 PM Share Posted July 18, 2013 at 02:22 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Penny Posted July 18, 2013 at 02:43 PM Author Share Posted July 18, 2013 at 02:43 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted July 18, 2013 at 03:53 PM Share Posted July 18, 2013 at 03:53 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Penny Posted July 18, 2013 at 06:28 PM Author Share Posted July 18, 2013 at 06:28 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted July 19, 2013 at 12:33 AM Share Posted July 19, 2013 at 12:33 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Penny Posted July 19, 2013 at 10:17 AM Author Share Posted July 19, 2013 at 10:17 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted July 19, 2013 at 01:29 PM Share Posted July 19, 2013 at 01:29 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Penny Posted July 20, 2013 at 12:53 PM Author Share Posted July 20, 2013 at 12:53 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Penny Posted August 13, 2013 at 08:57 PM Author Share Posted August 13, 2013 at 08:57 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted August 14, 2013 at 12:29 AM Share Posted August 14, 2013 at 12:29 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts