I have a sidebar block set up to refresh every 15 seconds. It is pulling in random quotes from the Quotes module.
Unfortunately, for anonymous users, the block refreshes correctly but pulls in the content only once. As an admin, the block refreshes perfectly, but all of my users will be anonymous. This is a cross-browser issue. Any ideas why the refresh works, but the content pulls only once?
Thanks.
Comments
Comment #1
rkodrupal commentedI don't know about the cross-browser comment above, but I have the same issue. I thought it might be a cache issue as discussed here (http://drupal.org/node/690898) ... but the fix at the 690898 URL didn't fix the problem with Block Refresh.
Block Refresh works fine except for anonymous users. I only use the manual refresh option and for anonymous users refresh always goes back to the same target and then goes no more.
I'm on Drupal 6.22 ... and I tried Block Refresh 6x.1.0 and 6x.1.x-dev. Same problem on both.
K
Comment #2
Mujtaba Mir commentedhi,
i was facing the same problem but soon caught my own mistake.
just go to the admin page "admin/people/permissions" and check all the options for Block refresh module. i.e. for anonymous, authenticated and admin as well.
Comment #3
rkodrupal commentedthanks for the reply MM but your suggestion did not fix the issue for me (v. 6.x-1.x-dev)
K
Comment #4
cjgriffin commentedI'm having the same issue with 7.x-2.x. Content is refreshed only once for anonymous users (including manual refreshes). I found that it's due to caching pages for anonymous users. Turn off the page cache and it works correctly. Still looking for a solution.
Comment #5
rimu commentedTry http://drupal.org/project/cacheexclude
Comment #6
cjgriffin commentedThanks rimu. I was still having issues even with Cache Exclude (not sure why). Because it was a Views block I was attempting to refresh, I ended up going with Views Auto-refresh instead which is working for me with caching enabled.
Comment #7
tripper54 commentedThis is a legitimate problem. It should be pretty easy to add an option in the block settings to bypass the page cache for the block callback.
Comment #8
tripper54 commentedAs such, it's a duplicate of #2083013: Add option to bypass caching