You are not logged in.
Pages: 1
Is it possible to change the default view on the home page to be the 'all' view ?
I want helpdesk people to see unsigned tickets the moment they log in and the only place this seems to be is in the 'all' overview.
I can 'hack' the source to but I'm not sure where to look, they seem to be ajax operated buttons.
Offline
That should be in the profile settings.
Thanks,
Dan
Offline
I can't find it in the profile.
In the global profile settings all I can set is what kind of access is allowed, in the user settings there is no mention of anything like this.
The 'personal view' tab is empty though.
Offline
Have you tried standard interface?
Thanks,
Dan
Offline
Have you tried standard interface?
Standard interface is our default interface for service people. It requires clicking to the 'all' tab before we can see unassigned tickets which is what I want to change.
Offline
I must have misread your original post. I don't know how to default to the All Tab.
Thanks,
Dan
Offline
I must have misread your original post. I don't know how to default to the All Tab.
Happens, thanks for the attempt to help though :-)
I'll dig around in the php files to see if I can change it.
Offline
And I 'fixed' it.
If anyone is interested, I added '$_SESSION['glpi_tabs']['central'] = -1;' to login.php at line 77 just before the first if($_SESSION near there.
This makes glpi show the ALL tab after the initial login.
Like so:
// now we can continue with the process...
if ($auth->Login($_POST['login_name'], $_POST['login_password'],
(isset($_REQUEST["noAUTO"])?$_REQUEST["noAUTO"]:false))) {
// Redirect to Command Central if not post-only
//Dirty hack
$_SESSION['glpi_tabs']['central'] = -1;
//End dirty hack
if ($_SESSION["glpiactiveprofile"]["interface"] == "helpdesk") {
if ($_SESSION['glpiactiveprofile']['create_ticket_on_login'] && empty($REDIRECT)) {
Html::redirect($CFG_GLPI['root_doc'] . "/front/helpdesk.public.php?create_ticket=1");
}
Html::redirect($CFG_GLPI['root_doc'] . "/front/helpdesk.public.php$REDIRECT");
} else {
Offline
This would be a good feature addition - the option to set a default time.
Thanks,
Dan
Offline
Just came back to say this is a great find!
Thanks,
Dan
Offline
I agree it would be nice to be able to customize a personal view or at least a setting what your default view is.
This was a basic requirement for us to not having to first click around before being able to see open unassigned tickets for service desk people.
Too easy to just log in and forget to look at the global picture after going 'on hey, i have 0 tickets waiting'
Offline
And I 'fixed' it.
If anyone is interested, I added '$_SESSION['glpi_tabs']['central'] = -1;' to login.php at line 77 just before the first if($_SESSION near there.
This makes glpi show the ALL tab after the initial login.
Do you know how to set $_SESSION['glpi_tabs']['central'] so glpi shows "global view" instead "personal view" or "all"?
Answering to myself
Central$3
Last edited by marcinr (2013-02-27 16:51:42)
Offline
Conz wrote:And I 'fixed' it.
If anyone is interested, I added '$_SESSION['glpi_tabs']['central'] = -1;' to login.php at line 77 just before the first if($_SESSION near there.
This makes glpi show the ALL tab after the initial login.Do you know how to set $_SESSION['glpi_tabs']['central'] so glpi shows "global view" instead "personal view" or "all"?
Answering to myself
Central$3
Hello Marcinr,
but I can't change the script as indicated, tea to go on "Global View". Where do I enter "Central$3"??
P.S.
Anyone can give some help is welcome ;-)
Offline
HI,
GLPI version ?
Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6
Offline
HI,
GLPI version ?
0.85.2 Many thanks ;-)
Offline
Even i am interested in this .. new here .. I am planning to hire an developer to guide me better in this .. but most is foreign language in this forum .. i am have to translate and read it
Offline
Just curious if there has been an option added to the ui to do this in 9.3?
Offline
Just curious if there has been an option added to the ui to do this in 9.3?
Hi,
In case you needed it, i have modify in inc/auth.class.php, the function redirectIfAuthenticated
Html::redirect($CFG_GLPI['root_doc'] . "/front/central.php");
To :
Html::redirect($CFG_GLPI['root_doc'] . "/front/ticket.php");
Best regards,
Yann
Offline
Pages: 1