I created a block from the "add block" tab, put in some working php-code (checking inbox for a private messages). I put it into a panel and the block's content hasn't been updated. I also put it aside the page into a usual sidebar. The block in the sidebar has been updated, the block inside the panel is not.
Comments
Comment #1
rc2020 commentedI have a similar issue, in that it will not refresh in panels. I also have it in the sidebar, and it will not refresh in the sidebar either. Would you like me to make a seperate support request or try to consolidate with this one?
Thanks.
Comment #2
marcor commentedSame issue here. As you can see in the code, it's kind of a matter of design. And thats a pity, because panel pages often serve as overviews of latest content. If used instead of the many blocks aside pages, these panel-pages help to scale traffic down on large sites. Reason enough to provide some way for block_refresh to work with panels.
Here is the code that might be responsible:
So just the blocks that are tied to regions are affected. I suppose panels define no page-regions. Someone who knows better about the region-design of panels2 might want to help out here.
Comment #3
dunkelfuerst commentedThis solution should solve your problem too:
http://drupal.org/node/221676#comment-1062976
If your ar using drupal 6, there's a working 6.x-version on my homepage. It should work within panels, too:
http://dunkelfuerst.com/projekte/drupal-block-refresh-6x
Comment #4
pribeh commentedSame problem here. I've applied the code change suggested in comment #17 from the block_refresh issue cue but to no avail. Blocks within a panel do not work. I believe Marco is up to something.
Comment #5
pribeh commentedHere's a link to my site's first user http://lc3.figureandground.net/user/2
I'll leave the site open tonight with access privileges turned on for anonymous. The left sidebar has a block displaying an activity block that has refresh working and the panel to the right has an activity block with it not working. They might be different blocks at the time of your viewing but I assure you that none of them work within the panel.
Any help would be greatly appreciated. I really want to get this to work.
Comment #6
bocaj commentedMarking as "won't fix" since there has been no activity on this forum in quite some time.
Comment #7
sierea commentedI was able to get it to refresh in panels or mini panels or whatever using php
this uses block load so it accesses the 'block' settings ie refresh
'views' would be the name of your module
'intownshow-block' is the name of the block.
Find these in the configure url on the blocks page