[rt-users] System-wide Default Refresh Rate

Jason A. Smith smithj4 at bnl.gov
Thu Jul 12 06:58:33 EDT 2007


Hi Mathew,

I don't remember where I found this, maybe in the list archives, but you
need to modify the Elements/Login file and insert one line that adds the
default value to the login form submission:


 <TR><TD ALIGN=RIGHT><&|/l&>Password</&>:</TD><TD ALIGN=LEFT><input type=password name=pass></TD></TR>
 <TR><TD colspan=2 align=right>
 <input type=submit Value="<&|/l&>Login</&>">
+<input type=hidden Name=HomeRefreshInterval Value=120>
 </TD></TR>
 </TABLE>
 


~Jason


On Thu, 2007-07-12 at 06:07 -0400, Mathew Snyder wrote:
> Hey all,
> 
> I'm trying to figure out how to change the default refresh rate for all pages
> that utilize the refresh option.  Under html/Elements is the Refresh file.  This
> provides the code I'm looking for as far as I can tell.  However, I can't get it
> to work.
> 
> I've changed it so that $Default is 120 ($Default => 120) but that doesn't
> affect anything.  I'd rather not have to make the change in every file so I'm
> hoping this solution can be made to work.
> 
> I have the Devel-Mode option set in RT_SiteConfig.pm so I know it isn't a mason
> cache issue.  Besides that, I've actually looked at var/mason-data/cache and
> found nothing.  Anyone know why changing the $Default variable to what I want it
> to be won't work?
> 
> Mathew
> 



More information about the rt-users mailing list