Please note that Form2Content is no longer being developed. All files from the latest version can be found on Github.

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Ihvar
  2. F2C Search filtered article lists
  3. Friday, 06 December 2019
  4.  Subscribe via email
Hi!
I have a catalog of events. Each event has a start date and end date.
I have a filter that shows events (for TODAY, TOMORROW, WEEKENDS, THIS MONTH, NEXT MONTH).
It uses only start date for filtering (DatePicker field type).

But how can I filter and show events that last more than one day?


Just an example.

Event 1 (starts at Dec, 7 - ends at Dec, 21).

Event 2 (starts at Dec, 8 and ends at same day).

Event 3 (starts at Dec, 1, - ends at Dec 12).


Today is Dec, 7. I push button SHOW EVENTS FOR TOMORROW (Dec 8)

If I use my filter by start date I only get Event 2.
But it should be Event 1, Event 2, Event 3.
Responses (2)
Accepted Answer Pending Moderation
I mean such logic as https://i.imgur.com/Jnm5HDI.jpg
Attachments (1)
Accepted Answer Pending Moderation
Hi Ivar,

Apologies for the late reply. I currently don't know how we can make that. We only filter on a single date and there is no relation with another (end) date. This would require a custom field with date range and also an update to F2C Search to deal with that field. We currently don't have the option to make that, sorry.

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.