aparente001
Forum Replies Created
-
I tried putting in your feed settings and formatting code in my test page, but I didn’t lose the correct start times. Can you show us what you have under your calendar settings -> Your current time zone
and
WordPress general settings -> Timezone?Are you pulling from different calendars on the two pages (live vs. test)?
If you give me the Calendar addresses (IDs) I could try them on my test page to see if I can get the same results you’re getting.
I re-read your first post just now. I see now that your home page and your other pages show different results, and that the only difference is whether it’s a home page or an inner page — you’re pulling from the same calendar and the same calendar feed, with the same shortcodes. That is weird! I don’t think I have that problem. Could it have something to do with your theme? I’m curious what would happen if you activated a different them temporarily?
That last paragraph didn’t come out right. Let me try again.
Unrelated comment: If you’re comfortable with CSS, you could use CSS styling instead of to get your event titles to come out bold. I use Firebug, Firefox 30, and the My Custom CSS plugin for this. Obviously
<strong></strong>
works here, but CSS would give you more control over appearance. For example, I didn’t like the extra indentation the event titles were getting, so I changed that with CSS:
.gce-list-event, .gce-tooltip-event { padding: 0; }
But this might be better as a project for a later time.
Thanks. I want to play with my own test page and see if I can reproduce your results.
A few preliminary thoughts –
– Could you show us what’s different about what you’re doing on the live home page that makes that one come out okay? What is it about that one that isn’t quite what you’re after?
– I noticed quite a lot of divs. Could you see if there are some that aren’t needed?
– I wonder if the double if-clause is confusing the plugin ( [if-single-day] [if-not-all-day] ). Is there a way you could fudge how you define the events in the calendar that would eliminate the need for the double if?
I’m not sure if any of that is relevant. I’ll post again after I try using your formatting code on my own test page.
Unrelated comment: If you’re comfortable with CSS, you could use CSS styling instead of to get your event titles to come out bold. I use Firebug, Firefox 30, and the My Custom CSS plugin for this. obviously works here, but CSS would give you more control over appearance, for example, I didn’t like the extra indentation the event titles were getting, so I changed that with CSS:
.gce-list-event, .gce-tooltip-event { padding: 0; }
But this might be better as a project for a later time.
Could you make a test page that’s not included in the site menu, to show the strange results, and send a link? Also, could you post your feed settings?
You can insert a text box in the sidebar, and use the normal shortcode there instead of the widget version. That might give you finer control.
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Error 403Nick, could you work some magic so that a notification that there is an update available for the plugin, when one is on the plugins page?
Here are a few ideas, intended as work-arounds.
– Make a test page not included in the menu.
– Experiment with [if-all-day] and/or [if-not-all-day].
– Put in some test events in January, that regular visitors would be unlikely to see. This might help you find a pattern in the malfunctioning.
– Try Grid as the display mode in the feed settings — but leave the shortcode as is. That helped me.
– Fudge the calendar entries to make them show up correctly on the site. There are several ways you could put a three-day event into Google Calendar — maybe an alternate way of doing it will help. It seems to me that one code branch interprets midnight as the previous day and another interprets it as belonging to the next day. Until the developers have had a chance to catch their breath and make more improvements, you could adjust the dates in the google calendar itself to make things come out right on the website.
– What happens when you experiment with Paging, and with interval_count? I find it suspicious that Dec 25 – Dec 31 consists of seven dates.
– Maybe 2014 vs. 2015 has something to do with part of this.
– In the worst case, you could put in the date that winter vacation stars, and then separately put in the date that school starts up again, and not display anything for the intervening days.
Progress. I am using the same feed settings and code as before, except I changed “Display start date offset” to 600. The shortcode on the page is now as follows:
<h4>Upcoming Events-Full</h4> [gcal id="1292" display="grouped-list"?interval="days" interval_count="19"] <h4>Test Past Events-Full</h4> [gcal id="1311" display="grouped-list" order="desc" ]
The result is now almost what is needed. The only problem is that the results page displays an all day event for today in the Past Events list. I would rather that it only appear in the Coming Events list. I haven’t found a way to adjust the settings to get today’s event eliminated from the descending list.
I have been able to fix some anomalies by choosing ‘grid’ in the feed settings, and then specifying group-list as an option in the shortcode. In general, I have gotten best results by specifying exactly what I want in the shortcode, instead of relying on the feed settings.
Sorry, I forgot to show the particulars for feed 1311.
<span class="gce-list-event"> [event-title] </span> <div>[if-not-all-day] Time: [start-time] - [end-time] [/if-not-all-day] </div> [if-location] <div>Location: [location]</div> [/if-location] [if-description] <div>Description: [description]</div> [/if-description]
Date format: l, M j, Y
Time format: g:ia
Cache duration: 1 (for debugging)
Display mode: Grid
Number events per page: 30 Events
Display start date offset: 180 days back
minimum feed start date: 3 years back
Max feed end date: 0- days forwardAn apparently unrelated problem: I can’t get the Past Events to go back far enough in time. Here is the google calendar:
Here is the WordPress page that’s showing too few events from the past: https://www.ithacasepta.org/test-plugin/My settings and code:
<h4>Upcoming Events-Full</h4> [gcal id="1292" display="grouped-list"?interval="days" interval_count="19"] <h4>Test Past Events-Full</h4> [gcal id="1311" display="grouped-list" order="desc" interval="days" interval_count="800" ]
Here is the Google calendar in question: https://www.google.com/calendar/embed?src=pdm5jvuqake8kl2bj1v4ec7ob8%40group.calendar.google.com&ctz=America/New_York
I’d like to go back at least a year and a half. There aren’t a lot of events on this calendar.
Oops, I found out that all the event titles have a slight extra indentation. This is noticeable if you allow the event title to be all alone on a line (without, for example, a preceding word or phrase, such as “Event: “).
I updated to 2.1.4 and the situation seems to be the same as I described.
By the way, all-day events don’t line up with events that have a start time. The all-day events start about one character to the right.
Here’s an interesting bug. I’ll describe how I got it.
I’m running version 2.1.3 (because I hadn’t realized there was a new version — I will try the new one later and see if I get the same strange behavior).
My feed uses the Event Builder as follows:
Code:
[if-not-all-day] [start-time] [/if-not-all-day] <span class="gce-list-event"> [event-title] </span>
Feed settings:
Expand recurring events? Yes
Date format: l, M j
Time format: g:ia
Cache duration: blank
display mode: grid
number of events per page: 9 events
display staft date offset: 0 days ahead
minimum feed start date: 1 months back
maximum feed end date: 2 years forwardHere’s the code in my page:
[gcal id="1292" display="grouped-list"]
The first event that gets displayed happens to be an all-day event.
The weird result: the first event listed doesn’t have a date associated with it! (Other all-day events are fine.)
I can solve this problem in two ways — by giving that first event a start time, or by changing the code in the page to the following:
[gcal id="1292" display="grouped-list"?interval="days" interval_count="8"]
Note that the following does not solve the problem:
[gcal id="1292" display="grouped-list" interval="events" interval_count="8"]
Thanks to the developers for making very clear instructions for setting up the API.
Developers, could you please post more examples? And with each example, it would be helpful if you could show what the results look like. Thanks!
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Problem with feedRoss, I think you should put these instructions in the settings. Right now, it says
Feed URL This will probably be something like: (example)Please remind people in that spot that they can get it by clicking on XML rather than ICAL or HTML. I have a tendency to forget and choose ICAL. Thanks.