Closed (fixed)
Project:
Block Refresh
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
27 Apr 2008 at 14:23 UTC
Updated:
11 Jun 2008 at 16:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
cozzi commentedSame here:
I tried this on one block set to 5 seconds. (This post was the one that triggered me to even look at Settings - which there is nothing in.)
Also, your demo here does not work http://drupalhub.org/en/random
When I found this module I thought, "how cool" and simple! But 2 hours later, I can't get it working :-(
Comment #2
permutations commentedI'm going to take a look at the code and see if I can find what's wrong.
Comment #3
aaron commentedthe demo page works fine for me. what browser are you on?
regarding settings page: the settings page is empty, because, well, it's empty. i haven't gotten around to that yet :/
the module is still in active development.
however, out of the box, the following should work fine:
1) you go to /admin/build/block, then click on the configure link of a block you want to refresh automatically.
2) check either (or both) the Enable block autorefresh or the Enable block manual refresh
3) set the time (in seconds) for a refresh. (maybe you have it set blank or at 0 right now?)
you can also theme the 'spinner' -- i plan to put in something better than how it is now.
thanks,
aaron
Comment #4
aaron commentedbased on another issue i just saw, you might need to refresh your menu:
1) make sure you have the latest version of the module
2) update it
3) visit /admin/build/menu for good measure
see if that helps
Comment #5
permutations commentedaaron - it doesn't work. I have the latest version of the module - I just downloaded it. I enabled Block Refresh on the blocks I'm interested in, but nothing refreshed. I went to the Block Refresh admin menu, and there are no options - just the save button and the other button.
I tried changing the name of the module (all the function calls) from block_refresh to blockrefresh (no underscore) because a theme I wrote with an underscore in the name stopped working in Drupal 5.x. But this didn't help Block Refresh.
Comment #6
aaron commentedyou have a live page i can look at? you can e-mail it to me (through my contact page) if you don't want to post it
Comment #7
aaron commentedwith the blocks that are supposed to be active
Comment #8
aaron commentedComment #9
permutations commentedMy test setup is in a password-protected area that I can't give access to. But I'm attaching two screenshots that show the problem. I'm trying to use Browse Refresh with phpFreeChat blocks. (I just fixed quite a few bugs in phpFreeChat - the version with my changes is here: http://permutations.com/drupal/phpfreechat.php.)
As you can see in the screenshots, Browse Refresh is enabled for the block, but there is no sign of it in the enabled blocks (who is chatting, who is chatting on, and latest from), and also no refreshing happens. The node information you see is from the Devel module. This is the version where I changed all instances of "browse_refresh" to "browserefresh", but it's the same in the original.
I tried your demo site, and it doesn't work for me, either. Clicking the Refresh button does nothing (well, the button changes, but it doesn't refresh), and no automatic refreshing happens. This is in IE7 - I'll try it now in Firefox.
Same thing with Firefox - clicking the Refresh button causes the graphic to animate, but no refreshing. And there's no automatic refreshing after a minute.
Thank you for looking at this.
Comment #10
permutations commentedComment #11
aaron commentedmake sure you set user access for 'access block refresh content'
Comment #12
aaron commentedi just realized i'd had that turned off all this time at drupalhub... i'll add a warning about that on the settings page (which will thus also not be blank...)
Comment #13
permutations commentedThat fixed the problem on your demo site, but it's still not working on my site. I had the permission turned on all along.
Comment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.