Jump to content
09 February 2018 - 02:07 PM
<?php echo $Time->nice($listing['Listing']['publish_down']);?>
Posted 09 February 2018 - 07:51 AM
How I can display the "Expiration Date" in the detail / listing view? Didn´t find a code for the templates
Posted 09 February 2018 - 02:07 PM
Posted 11 February 2018 - 06:50 AM
Thanks, is it possible to set that field for a specific listing type as required
Posted 11 February 2018 - 07:19 AM
You can get the listing type id from $listing['Criteria']['criteria_id'] and use that to build your conditionals.
Posted 11 February 2018 - 07:38 AM
Last question: In the "Ordering Options" I want to integrate a Expiration Date order. Can I use the field "jr_publish_down" then? And how I order to show the next coming date on the top.
Posted 11 February 2018 - 07:58 AM
The expiration date is not a custom field so you can't do that. There isn't a quick way to incorporate the expiration into the sorting functionality because there's nothing in the code to support this feature.
Posted 12 February 2018 - 04:25 AM
Ok use a date field then, thanks
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board