10 years ago
1
Topic

Hello,

I have a content type Event with 2 fields : name and date.
I would like to display the events in 2 modules.
The events of the week. The event of the day.
So I would need to be able to apply a condition on the date.

I love the component :D And I would give money to get a full documentation of Seblod.

Thank you in advance !

Get a Book for SEBLOD
154 Posts
WebOne
10 years ago
0
Level 1

Some ideas on this :

1) You could probably try using the TYPE 42 field to create a date $value of today.  Dummy/Alias that field onto the same storage field (using standard + free) And then add that field to the search/list type. The event that matches will be displayed.

2) If you have two fields of the event datestart and dateend (or use some addition/subtraction), then you might be able to achieve the same (and/or with method above)

Maybe this will help with some ideas too :
http://www.seblod.com/v2/forum/Search-Types/9860-Search-between-two-dates.html (I know it's search but could use some methods from this).


Get a VIP membership