Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I installed the module and activated it, entered my calendar info and saved. Then I went back and changed the number of events to display to 2, as the calendar is going in my footer. I saved, and went back to the page it is on, yet I still have 25 events showing.
Comment | File | Size | Author |
---|---|---|---|
#2 | clear-block-cache-2245787-2.patch | 482 bytes | Devin Carlson |
Comments
Comment #1
scottsawyerI am experiencing the same issue, using 7.x-1.1 stable. No matter what configuration ( no future events, set the limit to any number ), it displays all values.
EDIT: I found something interesting. I set the number of events to 2, and date limit to 1 month ( previously I did not set a date limit, I have about 7 events in this range ), and suddenly the event list displayed in my block is two.
Now here is where things get interesting.
More testing and I discovered that by saving the block configuration, then clearing cache seems to make the block apply the configuration changes. I have to clear cache between each change to the configuration. Weird because I am logged in as uid 1, cache is disabled for logged in users, and I am not using any sort of server caching ( memcache or varnish ), so this is unexpected.
At any rate, I think this may need to be addressed, but at least the module is not broken.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedWe should clear the cache associated with the block that is being saved.
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedTested and committed #2 to Google Calendar Block 7.x-2.x.