Forum Replies Created
-
AuthorPosts
-
Steven W
ParticipantJust so you’re in the loop, I’ve been exchanging emails with Andy Fragen of the-events-calendar-category-colors fame on GitHub and he seems (perhaps) to have stumbled on something in the TEC JS templating… The thread is at: https://github.com/afragen/the-events-calendar-category-colors/issues/66
Steven W
ParticipantThis reply is private.
Steven W
ParticipantThis reply is private.
Steven W
ParticipantThis reply is private.
Steven W
ParticipantThe conditional works like a charm. Thanks!
November 10, 2015 at 6:56 am in reply to: Event List view displaying publication date instead of event date? #1023697Steven W
ParticipantThat’s exactly what I needed, Josh! Looks like it works perfectly now. I so appreciate your patience and persistence on this. I cannot say enough good things about the support you all offer. Thanks!
October 29, 2015 at 10:13 am in reply to: Event List view displaying publication date instead of event date? #1019898Steven W
ParticipantI’m sorry, Josh, but you lost me… You say “add the code from the gist above into [archive.php]”, but I’m not sure what code you’re talking about. You did instruct me to add some code to “content.php”, which I did, and which took care of the date not showing up at all (but didn’t fix the issue of the wrong date showing), but I don’t see any place where we’ve talked about “archive.php” and I don’t see what code you’re instructing me to enter there. Am I missing something? And again, I really appreciate your patience and persistence on this.
October 27, 2015 at 10:14 pm in reply to: Event List view displaying publication date instead of event date? #1019169Steven W
ParticipantThis reply is private.
October 27, 2015 at 10:00 pm in reply to: Event List view displaying publication date instead of event date? #1019168Steven W
ParticipantThis reply is private.
October 26, 2015 at 12:02 pm in reply to: Event List view displaying publication date instead of event date? #1018618Steven W
ParticipantProbably not what you want to hear, Josh, but I just discovered that the issue we’ve been working on is not confined to the “Lectionary” events that were created. If I click on any tag that shows up in the tag cloud (and is associated with TEC events), all the events that display in the default Tag Archive page display with the Published on date rather than the “Start date”. Don’t know if this helps, but it is what it is.
October 25, 2015 at 8:17 pm in reply to: Event List view displaying publication date instead of event date? #1017772Steven W
ParticipantThis reply is private.
October 25, 2015 at 8:11 pm in reply to: Event List view displaying publication date instead of event date? #1017769Steven W
ParticipantNo apologies necessary, Josh. It’s easy to be patient when you know somebody genuinely wants to help and I believe that’s the case here. We’ll get it figured out. My bet is that it’s something I’m doing wrong. I just can’t figure out what it would be. I just went in to our production site (hidden behind a maintenance screen normally) and followed all previous steps, i.e., deactivated all plugins except TEC, changed to Twenty-Fourteen theme (I had to make the change to content.php you suggested just to get the dates to show up at all), and flushed the cache. Still no go. The screen shots I sent you were from my local dev environment, and I wanted to be absolutely certain I’d get the same results on the different, production environment. So no revelations. Same behavior. It’ll be interesting when we find out what’s causing it, if we ever do.
October 23, 2015 at 9:50 am in reply to: Event List view displaying publication date instead of event date? #1017362Steven W
ParticipantHere’s what I’ve done:
1. changed to the Twenty-Fourteen theme
2. when I select “Lectionary” from the tags here’s what I get: http://screencast.com/t/cXJmUoev As you can see, the two instances displayed show the “Published On” date, 29 September… (Remember, I did add code in content.php to make the TEC date show up, at your suggestion — it wasn’t showing up at all before.)
3. then I disabled all plugins except for TEC, and this is what I get: http://screencast.com/t/NGG2nvdmu The issue persists…I flushed cached each time as well, just to be sure I’m pulling fresh data.
As for the Intercessory Prayer event, it’s set up as a recurring, every Wednesday, event. The content never changes, so that seemed appropriate. When I click the tag for it, this is what I get: http://screencast.com/t/Cs99pAoozM I only get one entry, but since it’s built as a recurrent event, I think that’s appropriate — unless I could get it to always show the next occurrence, instead of the “Published On” date of the series, which is what’s appearing now. While this might be confusing to some, I think the greater chance for confusion is with the Lectionary issue…
By the way, I don’t think I answered one of your other questions earlier… When I click on one of the Lectionary events that appear in the Tag Archive list (#2, above), the detail displays correctly, like this: http://screencast.com/t/sfKBHGJej That pesky “Published On” date is nowhere to be seen…
having fun yet?
October 21, 2015 at 9:07 am in reply to: Event List view displaying publication date instead of event date? #1016602Steven W
ParticipantLemme try again…
On 29 September of this year, we created 52 “events”, one for every Sunday of the year. Every one of the events has the title “Lectionary”. Each one of those events was created as an all-day event and each had “start day/end day” values that matched the day we want the event to appear on the calendar. For example, the event created to show up on 6 December had a start date of 6 December and an end date of 6 December. Each event also has different content. After creating these 52 events, each one of them had a “Published on” date of 29 September — the date they were all physically entered. Each one of them had a different “start day/end day” value, to make each one appear on the appropriate day. In this respect, none of them were entered incorrectly (at least not as I understand the way TEC works), and we haven’t changed any of the date values — either the “Published on” date or any of the “start date/end date” values.In calendar view, each event appears on the correct day — dictated by the “start date/end date” value. You can see that at this link: http://screencast.com/t/9s2QS6wF5. When I select the tag “Lectionary” from a tag cloud, however, I get the this screen: http://screencast.com/t/0hSs0K2bCT.
Here is a screenshot of the admin page for one of the events, typical of the way they’re all set up (with the exception of the start date/end date fields and the content, of course): http://screencast.com/t/GIE7raldA
Hope this makes a little more sense… I feel like I’m not doing a very good job of communicating here…
October 20, 2015 at 7:50 am in reply to: Event List view displaying publication date instead of event date? #1016235Steven W
ParticipantOK, Josh. This feels like a little bit of progress, but just a little… I inserted the code you suggested (in the Twenty-Fourteen theme), and sure enough, the date (and other info) appeared. But it still displays the same date for every entry…
I’m pretty wet behind the ears when it comes to deep PHP code stuff (30 years in IT, but most of my coding experience was in COBOL and other ancient relics), but I think I can find the piece you’re looking for. It’ll just take me a little time, and I’m about to be out of the office for a couple of weeks to boot. I’ll appreciate your continued patience.
But before I sign off, it occurs to me that part of the problem may be in a failure to communicate (i.e., my failure)… I may not be using the right terminology to describe the problem, and want to be sure we’re on the same page, so bear with me for another couple of minutes while I re-state the issue…
I’ve created a series of “event”, each one called “Lectionary”. It’s not actually a recurring event in terms of how it’s set up, but is recurring in that it happens every Sunday, plus a few weekdays during the year. The content of each event is different. The client is in the process of building the content for the site now, so almost every event called “Lectionary” was entered into the database on the same calendar day — the “Published on” date in WP (and it happened to be 29 September, about three weeks ago). Since we want all of these events to show up on the calendar (i.e., out into the future, so users can download them as iCal), we chose not to change the “Published on” date to the “Start date-End date” of each event (each one is set as an “All day” event). Now, with all that background, what’s happening is that when a user clicks the tag for “Lectionary” out of the tag cloud, they get a listing of all events called “Lectionary” — which is as it should be. The problem is that each event displays the “Published on” date of “29 September”, the day the event was actually entered into the system. That makes it impossible for the user to determine (when scanning the list of events called “Lectionary”) which one is for which calendar day. The desired result would be for the listing to show the contents of the “Start date” (the event date?), so that for example, the event called “Lectionary” that occurs on Sunday, 6 December actually shows that date (6 December) instead of “29 September”.
I have an idea that I haven’t adequately explained this in the past… If I have, please forgive the long, redundant explanation, but again, just want to be sure I’m not wasting your time.
-
AuthorPosts
