Display based on publication dates [réglé]

More
1 month 3 weeks ago #84934 by nexteo
I manage a calendar with Flexicontent in which all events have a start date and an end date for publication.
All my events are therefore perfectly classified by increasing date from "now"
I am asked to add a menu to display all previous events.
I tried to use a blocked filter like: field_id##---now+0d
This has no effect and always shows upcoming events.

Is my filter written incorrectly?
Or is it simply due to my events being unpublished by default?
How to get around this problem?

Thank you for your ideas

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #84936 by micker
field_id##---now+0d works only with a flexicontent field
maybe you can test to add filter ioption in your publish field

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #84938 by nexteo
Thank you Micker for this idea
I transformed my publication end date into 1 flexicontent field of the same name.
With the filter field_id##---now+0d I obtain all events prior to today's date
But how do I write my filter for all upcoming events since I no longer use the default publication date?
I tested field_id##now-0d---now+630d, but it doesn't work...
Thanks for your help

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #84940 by micker
you can do this
86##now-0d---now+10Y
=> replace 86 by your field id
=> becarfull select a filter mode with range option

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #84941 by nexteo
Thanks Micker,
For this to work perfectly,
1) I added a filterable field "end of publication" and displayed field_id##---now+0d
2) I transformed my start date field into a filter and I applied field_id##now-0d---now+10Y to display

So I can isolate all future events from past events

Thanks again for your help

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #84944 by micker
thanks for return, i do a small tutorial about this

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.744 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline