I was not able to find a callback… Maybe in 4.0.4 but I’m still
running 4.0.2
Anyway, I ended up adding the following to
local/html/Elements/HeaderJavascript:
% if( $session{‘CurrentUser’}->UserObj->Name eq ‘display’ ) {
% }
the “display” user being the userid of the kiosk…On Wed, January 18, 2012 1:40 pm, Yan Seiner wrote:
Is there anywhere in particular on the page this needs to go? Or any
particular callback that I need to latch on to?
I’ve been going round and round with this and I can’t get the page to
update.
I’ve tried a lot of variations too…
I’m not familiar with jQuery so I don’t know if it needs to go somewhere
special or if there is some way it needs to be triggered: onload=… ???
–Yan
On Wed, January 18, 2012 12:24 am, Ruslan Zakirov wrote:
Hi,
With a callback you can put the following javascript on every page
that will reload it after a minute:
jQuery( function () { setTimeout(“window.location.reload()”, 60*1000) }
);
On Wed, Jan 18, 2012 at 03:32, Yan Seiner yan@seiner.com wrote:
Is there some way to get RT to reload every page on a regular basis?
I have a kiosk/wall display and I need it to show current info. The
kiosk
can show search results or an info page.
Is there something I can add to the URL?
I found some old documentation that ?HomeRefreshInterval=120 might work
for the home page; I am hoping there’s a simple way to get my “display”
user to refresh everything every, say, 30 seconds.
–Yan
–
On two occasions I have been asked,—“Pray, Mr. Babbage, if you put into
the machine wrong figures, will the right answers come out?” … I am
not
able rightly to apprehend the kind of confusion of ideas that could
provoke such a question.
—Charles Babbage, Inventor of the computer, 1864
RT Training Sessions (http://bestpractical.com/services/training.html)
–
Best regards, Ruslan.
–
On two occasions I have been asked,—“Pray, Mr. Babbage, if you put into
the machine wrong figures, will the right answers come out?” … I am not
able rightly to apprehend the kind of confusion of ideas that could
provoke such a question.
—Charles Babbage, Inventor of the computer, 1864
RT Training Sessions (http://bestpractical.com/services/training.html)
!DSPAM:4f173c5f27611848747371!
On two occasions I have been asked,—“Pray, Mr. Babbage, if you put into
the machine wrong figures, will the right answers come out?” … I am not
able rightly to apprehend the kind of confusion of ideas that could
provoke such a question.
—Charles Babbage, Inventor of the computer, 1864