Hi, Sorry cannot provide public url's to the files that are normally required. - My solution is hosted on an intranet, which as far as I'm aware cannot be accessed from the www.
If technical details about the server ARE required, I can get and respost in the next few days.
I am running version: 0.94.1 @ October 25, 2007
What terms did you try when SEARCHING for a solution:
Google; hesk helpdesk refresh
http://www.tips-tricks.com/automa.asp
Write your message below:
I tried to edit some of the main html to automatically refresh the page, by placing a time within the head meta tags.
http://www.tips-tricks.com/automa.asp
However I found that this refreshes all the pages (as it should, because it's loaded on all pages!)
Is anyone aware of a solution I can implement which will only refresh the page if it's on the MAIN page - ie displaying a list of incoming support requests.
Thank you.
Refresh "Main Page Automatically"
Moderator: mkoch227
You can try something like this:
1. in admin_main.php add just below
2. in inc/header.inc.php add just below
Haven't tested it though.
1. in admin_main.php add
Code: Select all
define('MAIN_PAGE',1);
Code: Select all
define('IN_SCRIPT',1);
Code: Select all
<?php
if (defined('MAIN_PAGE'))
{
?>
<meta http-equiv="refresh" content="30">
<?php
}
?>
Code: Select all
<head>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 12
- Joined: Wed May 14, 2008 12:46 pm
Placing a variable within adminmain...
I haven't thought about placing a variable, and then testing it!
Good thinking!
I will let you know if/when it works
Good thinking!
I will let you know if/when it works

-
- Posts: 12
- Joined: Wed May 14, 2008 12:46 pm
PERFECT!!!!!!
Took me just 1minute to implement and works a complete treat!!!!!
THANK YOU
THANK YOU
Re: Refresh "Main Page Automatically"
My users were begging for this! Found it searching here and it works great!
My only question - will auto-refreshing the page prevent users from being logged out when they are inactive? If so, is there any easy work-around to that?
Thanks much!
My only question - will auto-refreshing the page prevent users from being logged out when they are inactive? If so, is there any easy work-around to that?
Thanks much!
- Lisa
-
- Posts: 12
- Joined: Wed May 14, 2008 12:46 pm
Re: Refresh "Main Page Automatically"
Yes. I assume it would stop the auto logout proceedure as the browser is refreshing the page. (there wouldn't be a way for the code to know if this request was automatic or user driven)
Re: Refresh "Main Page Automatically"
Old thread but my colleagues love it and it works like a charm.
So I don't have to refresh my browser manually every minute.
May be it can be implementet in the upcoming Version?
Either to disable or set the content-variable in the admin settings.
That would be great!
Thank you!
So I don't have to refresh my browser manually every minute.
May be it can be implementet in the upcoming Version?
Either to disable or set the content-variable in the admin settings.
That would be great!
Thank you!
Re: Refresh "Main Page Automatically"
Noted, although I give no promises



Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools