Hi again,
Short follow up on this.
I thought having found a solution by requesting a display start date 45 days ago, adding a conditional short code [if-ended] at the beginning of event constructor (and closiing it at the very end) and removing the “Expanded event display each day” option.
This sounds logical and it almost works:
http://www.tres-cloitres.org/?page_id=209
But remains some blank line. I don’t know where it comes from (even checking the text editor).
If anybody could remove this blank line, I would be delighted.
Thanks a lot,
benjamin
Just to avoid confusion. The link stated in first post are no longer relevant, as I switch to the config of the 2nd post that is closer to a solution.
But if you want to debug on post #1, I can revert the config!
Thanks
benjamin
@benjamint,
Thanks for all the info, I will take what you have given me and see if I can find out what’s going on. I will keep you posted.
THanks!
@benjamint,
Sorry for the late reply here. I want to make sure I follow this all correctly. So is the main issue that it is not showing at the top of the list? Or is it more an issue that the event builder shortcodes don’t seem to work?
Dear Nick,
Many thanks for the follow up. There are indeed two things:
1. if a multi-day event already started (before today), it no longer appears at the top of the list by default. In my memories, it worked in the past.
A possible workaround consists in defining the start date as N days before today (60 for example) and add condition shortcodes to get rid of the past events that already ended (as we don’t want to have them still shown).
2. The solution detailed in #1 basically works. This is the one currently implemented on my website: http://www.tres-cloitres.org/
The events quoted “Jusqu’au” (“until” in French) are multi-day events already started. They appear as expected.
There are however 2 esthetic features associated to the [if-not-ended] condition shortcode. Indeed, for events already ended, appears a blank line (in list view) or an empty box (in calendar view).
See for example the list : http://www.tres-cloitres.org/?page_id=209
And the calendar (check december) : http://www.tres-cloitres.org/?page_id=10
If you find a way to fix problem #2 (blank lines in list and empty box in calendar), the problem #1 has a viable solution.
If you find a way to fix problem #1 (retrieving all multi-day events not yet ended with a start date still defined as today), the problem #2 is no longer relevant.
Hoping that it is clear,
Best wishes for 2015, could the extension maintenance be as efficient as in 2014 🙂
Benjamin
1. if a multi-day event already started (before today), it no longer appears at the top of the list by default. In my memories, it worked in the past.
Oh ok I think I see now. I think this was an older feature that is no longer available in the current version. I believe this might have been mentioned on out public roadmap if you want to check that out and vote/submit it:
https://trello.com/b/ZQSzsarY
For #2 I will need to test it a bit more to see what’s going on. If you have updated your event builder codes could you send those over so I can try it in the same way you are using. If you don’t then I will use what is in your first post here and go by that.
Thanks for your patience.
Dear Nick,
Many thanks for the follow up.
I indeed modified my event builder code. I copied it below. I carefully checked that there was no useless blank line.
Best
Benjamin
[if-not-ended][if-single-day][if-not-all-day]
<div class=”gce-list-event gce-tooltip-event”><b>[start-date] – [start-time] : </b> [event-title]</div>
[/if-not-all-day][/if-single-day]
[if-single-day][if-all-day]
<div class=”gce-list-event gce-tooltip-event”><b>[start-date] : </b> [event-title]</div>
[/if-all-day][/if-single-day]
[if-multi-day] [if-not-started]
<div class=”gce-list-event gce-tooltip-event”><b> Du [start-date] au [end-date]</b>: [event-title]</div>
[/if-not-started] [/if-multi-day]
[if-multi-day] [if-started]
<div class=”gce-list-event gce-tooltip-event”><b> Jusqu’au [end-date] – </b> [event-title]</div>
[/if-started] [/if-multi-day]
[if-location]Lieu : <i>[location]</i>[/if-location]
[if-description][description html = “true”][/if-description][/if-not-ended]
Thanks for the info. I will do some testing and see if I can nail this down for you. I will update you when I get a chance.
Thank you for your patience.
We just pushed a new release. Could you update me on your situation after updating to the new release please?
Thanks!
Dear Nick,
Thanks for your feedback.
I just updated the plugin but it did not solve the problem:
http://www.tres-cloitres.org/?page_id=209
Best
Benjamin
Hmm I am not sure why this is happening but try adding this to your theme’s CSS file:
.gce-page-list .gce-feed { padding-bottom: 0; }
That should fix the spacing issues. Let me know if that helps.
Assuming the last response fixed the issue since there hasn’t been a response here lately. Let me know if you need help with anything else.
Thanks!
Dear Nick,
Sorry for my late feedback but last weeks were very busy.
Adding this simple line in my style.css file (Twenty Thirteen theme) indeed fixed the problem:
http://www.tres-cloitres.org/?page_id=209
Many thanks for the time spent on this.
Best
Benjamin