I have a problem with calendar block. When i turn on block caching anonymous users can't see calendar.
I'm not familiar with ajax but it seems to not work when cache used. Is this module compatible with caching?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | calendar_block-cache.patch | 368 bytes | timhilliard |
| #1 | calendar_block-cache.patch | 367 bytes | timhilliard |
Comments
Comment #1
timhilliard commentedI also had the same problem. The problem is that the block has not told drupal that it can't be cached. I have attached a patch that fixes this.
This should probably be committed.
I hope this helps,
Tim
Comment #2
timhilliard commentedforgot to set status
Comment #3
andribas commentedThank you, I did the same using mysql. it works
Comment #4
timhilliard commentedunassign so someone else will review my work.
Comment #5
timhilliard commentedok just realised that I created the patch on a computer where I hadn't set tabs to be 2 spaces. Have now fixed.
Comment #6
XpycT commentedDont work for me.(block cashing+authcache+cacherouter(xcache)) :(
Comment #7
byant commentedsame with me, not works
Comment #8
timhilliard commentedok I've looked at this one deeper. The problem is still caching as far as I can see and what I suspect is happening is that you are applying the patch to the module after it has already been activated. This is a problem as even if the patch is applied it will not pick up the caching value as this gets set the first time the block is found and never gets updated again. I think to fix this permanently it would also need an upgrade script applied in the .install file. However to fix the problem you guys are experiencing you should run the following query.
where {blocks} is your correctly prefixed table for blocks.
I will re-roll the patch when i get more time.
Cheers,
Tim