Forum for discussing general topics related to Couch.
5 posts Page 1 of 1
we have a template that allows a Year entry in the following format

June 2014

We want to set up a search so someone could type in a year and just show entries that match the entered year. I assume this would go somewhere within the <cms:page> loop, but not sure how to handle.

thanks
cms:search will work too.
If, however, you specifically want to use cms:pages, please see viewtopic.php?f=8&t=7620 for an example (it is more advanced than what you need but you'll get the gist of how to implement it).

Hope it helps.
is there any way to do this to look for a pattern

such as

year like '2014'

issue is that the date is entered like June 2014, but search will just be the year

thanks
Can you please tell us more about how the dates will be inputted? I mean, what type of editable region you are using? Will the region be used exclusively for entering dates? What is the format of the date entered - freeform or some fixed format?

And finally, forget the solution for a moment and let us know about the problem - what is it that you are trying to solve? Perhaps there could be some better way of solving it.

Thanks.
maybe he need someth like filter.
try jPList. I use it on my fruit web app. :D
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
5 posts Page 1 of 1
cron