Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
page displays
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2009 at 16:22 UTC
Updated:
19 Feb 2011 at 12:58 UTC
Hi, I looked at Views with intention to find Auto Refresh option, but not found.
Is there any possibility to have a page with a list of nodes refreshing every amount of seconds or trigered refresh after new node creation ?
Something like Gmail. When you have a list od mails the new ones are showing on the top automaticaly.
If not views option, do you know any modules which can do that ?
I checked this one: http://drupal.org/project/refresh , but its not for Views..
Thanks
Comments
Comment #1
dawehnerI really don't think that this is sense-full for views core.
But I understand your reasons, why you need it.
I think refresh module is the right place to create a patch for it.
Comment #2
benone commentedYes, but Refresh module is working for whole site and refreshes in a "visible" way, likne normal Refresh button in each browser.
Another module - Block refresh - doesnt care about Views pages, it means when you have pager in your view and ajax , the view is refreshing to the first page each time, so you cant normally viewing another pages.
I thought if there is option to use Ajax in view settings, there could be a small window to place refresh seconds also.
Nice feaature and really useful and really common these days.
Could you help me with patching Refresh module to work only with the view, not whole page ? Is that complicated ?
Thanks, B.
Comment #3
kaakuu commentedThis is an useful thing just like gmail.
The php forum script blursoft metaforum offers an even further nifty feature - an audio alert ( configurable to keep it off or on ) when you are away in another window or busy in someplace else like kitchen. The alert makes a short beep whenever there is new node that makes to the list.
For the time being I needed this and used metarefresh in the header area of the views - this is better than having nothing at all.
Comment #4
benone commentedYes, meta refresh or block refresh is the only option tight now, but it's not really professional looking.
If anybody have idea for a snippet refreshing views div , please shout :).
Maybe some ajax to the template ? If I know the name of my views div I can refresh the div in this way, am I right ?
Gmail refreshing is really good , this is what makes your VIEW ALIVE !
B.
Comment #5
benone commentedBTW. If not autorefresh in gmail view I woudn't answer to your post so quickly ;)
Comment #6
pribeh commentedI definitely support this feature but perhaps in a submodule or another module such as ajax_views_refresh (http://drupal.org/project/ajax_views_refresh). Here (http://drupal.org/node/541226) is a formal request I just made to the maintainer of ajax_views_refresh.
Comment #7
schvili commentedDid you manage to find a solution for this?
Comment #8
dayre commentedsubscribing.... this would be an extremely useful feature... i had a look at the views js code, but it doesn't seem simple to tease a new function out of to do this.... my Javascript chops aren't quite there yet.
This is a similar request here #369693: Refresh a view (from JavaScript)... as if there was a simple javascript call one could make, you could just use setTimeout/Interval to trigger the calls...
Comment #9
merlinofchaos commentedhttp://drupal.org/node/343542
Comment #10
somebodysysop commentedCould you provide the code you used to do this?
Comment #11
somebodysysop commentedSorry, here is the code to put into the views header:
Comment #12
pankaj01 commentedMeta refresh is a deprecated method of instructing a web browser to automatically refresh the current web page. W3c does not recommend it. Check wikipedia.
And search engines dont like it as it used by spammers to fool search engines. So search engines opt out of pages that have the Meta refresh.
Comment #13
SeanBannister commentedCheck out the Views Hacks module, it contains Views Auto-refresh.