All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

How do I show results based on location AND date range?

Varen 20 May 2015 23:46 question,

Hi, I creating a page where I'm showing entries based on proximity to a location, this works well. Now, I'd like to limit those posts to the past 30 days with an option to change that amount of time with a form; something like 1 day, 1 week, 1 month and 1 year.

I've setup the location filter just fine but spent the entire day trying to make it work with my requirement for dates as well and have had zero success. I'm not sure this is even possible and would appreciate some direction. Thanks!

Replies

  1. Low 21 May 2015 07:10

    What are your EE, LS and PHP versions?
    What date are you targeting?
    What form/results tag code are you using now? You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code.