Default refresh rate

Where do I change the default refresh rate from “Don’t refresh this
page” to any of the other options?

Mathew Snyder

At the right side of the Home page.----- Original Message -----
From: “Mathew Snyder” jokermjs19@comcast.net
To: rt-users@lists.bestpractical.com
Sent: Wednesday, July 26, 2006 10:14 AM
Subject: [rt-users] default refresh rate

Where do I change the default refresh rate from “Don’t refresh this
page” to any of the other options?

Mathew Snyder


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

Let me clarify:

Where in the code do I set the refresh rate to default to anything other
than “Don’t refresh this page” so that whenever a user logs in, it is
already set and no manual interaction is needed.

Thanks,
Mathew Snyder

陈然 wrote:

At the right side of the Home page.

----- Original Message -----
From: “Mathew Snyder” jokermjs19@comcast.net
To: rt-users@lists.bestpractical.com
Sent: Wednesday, July 26, 2006 10:14 AM
Subject: [rt-users] default refresh rate

Where do I change the default refresh rate from “Don’t refresh this
page” to any of the other options?

Mathew Snyder


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

If we don’t protect freedom of speech, how will we know who the assholes
are?

Hi Mathew,

Where do I change the default refresh rate from “Don’t
refresh this page” to any of the other options?

There isn’t a way to do this as a system wide default in the existing
configuration. I extracted a patch from the LDAP overlay at
www.mosemann.com
to do this:

http://www.lancs.ac.uk/~norton/dev/rt/notes.html#20050506__system_wide_c
onfigurable_default_refresh_periods

This patch works with 3.4.x. I have an updated version for 3.6.0 but
havn’t yet
updated the docs or tested it in production.

Any chance we could see a system wide default refresh period in the
distributed
config development type peeps?

Regards, Ian.

Norton, Ian wrote:

Hi Mathew,

Where do I change the default refresh rate from “Don’t
refresh this page” to any of the other options?

There isn’t a way to do this as a system wide default in the existing
configuration. I extracted a patch from the LDAP overlay at
www.mosemann.com
to do this:

http://www.lancs.ac.uk/~norton/dev/rt/notes.html#20050506__system_wide_c
onfigurable_default_refresh_periods

This patch works with 3.4.x. I have an updated version for 3.6.0 but
havn’t yet
updated the docs or tested it in production.

Any chance we could see a system wide default refresh period in the
distributed
config development type peeps?

Regards, Ian.

Thanks, I had found an even simpler solution though. I added the
following lines to index.html:

These lines added to change the default refresh interval

unless ($session{‘home_refresh_interval’}) {
$session{‘home_refresh_interval’} = 120; # Value in seconds.
}

If we don’t protect freedom of speech, how will we know who the assholes
are?

Mathew Snyder wrote:

Norton, Ian wrote:

Hi Mathew,

Where do I change the default refresh rate from “Don’t
refresh this page” to any of the other options?
There isn’t a way to do this as a system wide default in the existing
configuration. I extracted a patch from the LDAP overlay at
www.mosemann.com
to do this:

http://www.lancs.ac.uk/~norton/dev/rt/notes.html#20050506__system_wide_c
onfigurable_default_refresh_periods

This patch works with 3.4.x. I have an updated version for 3.6.0 but
havn’t yet
updated the docs or tested it in production.

Any chance we could see a system wide default refresh period in the
distributed
config development type peeps?

Regards, Ian.

Thanks, I had found an even simpler solution though. I added the
following lines to index.html:

These lines added to change the default refresh interval

unless ($session{‘home_refresh_interval’}) {
$session{‘home_refresh_interval’} = 120; # Value in seconds.
}

So I went ahead and tried to do your patch. It failed miserably with my
installation of v3.6.0. Caused all kinds of havoc. Fortunately I was
able to get everything back to normal without having to rebuild.

I tried your method because I realized it would be a system-wide effect
while my method only covers the homepage.

If we don’t protect freedom of speech, how will we know who the assholes
are?