Advanced Editor Search Filters

5 posts by 3 authors in: Forums > CMS Builder
Last Post: November 5, 2009   (RSS)

By design9 - October 12, 2009

Is there a way to add the date field to the custom search editors so I can search articles by the date in the backend? I tried it but it didn't seem to work so I am not sure if I set it up correctly. I am using the date/time field and my table is called date. Note: I am only using the date not the time.

Thanks!
April

Re: [apdance9] Advanced Editor Search Filters

By Damon - October 14, 2009

Hi April,

In the Section Editor under the Searching tab, try adding this:
Keyword|title, summary|query
Date|date|query

This will create a date field that you can enter a year to display records matching that year (ex. 2008).
To match records from a year and month, enter year-month (ex. 2009-09)

As I was testing this out to write this reply, I discovered that the some of the search types (year, month and day) are not working as intended. I will get them added to be fixed for an upcoming release.

I hope that helps. :)
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [apdance9] Advanced Editor Search Filters

By Dave - November 4, 2009

Hi April,

When I setup an advanced search field like this:
Date|date|query

I'm able to search for dates like this YYYY-MM

Is there another way you are trying to search or what results are you getting?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Advanced Editor Search Filters

By design9 - November 5, 2009

Thanks Dave!

That worked! For some reason, it wasn't working before but just tried it again and works fine!

Thanks for your help!

April