How I can remove from services list , services which is not connected with special queue ???
in otrs 3.0 I just hide services in config.pm but in otrs.3.1 this services appear on list (gray font color) grrr
OTRS 3.1.1 - HOW Can I hide services not related to queue
Moderator: crythias
OTRS 3.1.1 - HOW Can I hide services not related to queue
You do not have the required permissions to view the files attached to this post.
-
- Znuny newbie
- Posts: 15
- Joined: 02 Mar 2012, 20:17
- Znuny Version: 003011
Re: OTRS 3.1.1 - HOW Can I hide services not related to queu
Same problem here.
In version 3.0.11 this issue was not present.
In version 3.0.11 this issue was not present.
-
- Znuny newbie
- Posts: 17
- Joined: 16 Jan 2012, 20:37
- Znuny Version: 3.0.11
- Real Name: Nicolò
- Location: Ferrara (Italy)
Re: OTRS 3.1.1 - HOW Can I hide services not related to queu
I solved it with the use of CSS3 (i use firefox) in OTRS 3.1
I state, I use a custom skin for the customer.
For hide services non related to queue, i modified my CSS:
go to the folder: $OTRS_HOME/var/httpd/htdocs/skins/Customer/__My_Custom_Skin__/css
Open file "Core.Form.css" and add at the end:
Works fine for me.
If you don't use a personalized skin for the customer, maybe you have to go:
$OTRS_HOME/var/httpd/htdocs/skins/Customer/default/css
and modify "Core.Form.css" adding the same line of code:
Let me know if works.
Good job!!
( PS: Nickcarter, are you italian? Maybe you can read this viewtopic.php?f=89&t=14180 )
I state, I use a custom skin for the customer.
For hide services non related to queue, i modified my CSS:
go to the folder: $OTRS_HOME/var/httpd/htdocs/skins/Customer/__My_Custom_Skin__/css
Open file "Core.Form.css" and add at the end:
Code: Select all
option[disabled=disabled] {display: none;}
If you don't use a personalized skin for the customer, maybe you have to go:
$OTRS_HOME/var/httpd/htdocs/skins/Customer/default/css
and modify "Core.Form.css" adding the same line of code:
Code: Select all
option[disabled=disabled] {display: none;}
Let me know if works.
Good job!!
( PS: Nickcarter, are you italian? Maybe you can read this viewtopic.php?f=89&t=14180 )
-
- Znuny advanced
- Posts: 121
- Joined: 30 Aug 2011, 10:48
- Znuny Version: 3.3.8 && 4.0.9
- Real Name: Artjoms Petrovs
- Location: Latvia
Re: OTRS 3.1.1 - HOW Can I hide services not related to queu
Hello mates 
It took me awhile to find the solution, because it is reaaaaaly inconvenient to look for one service in the pile of 100 disabled ones
The solution I came to was quite easy to implement
add the else statement to the code in appropriate .pm file (the module in which you need the dropdown without disabled services)
Although it would be quite convenient for us if this would be an adjustable configuration - to disable not needed elements or to hide those...

It took me awhile to find the solution, because it is reaaaaaly inconvenient to look for one service in the pile of 100 disabled ones
The solution I came to was quite easy to implement
Code: Select all
# check if service is disabled
if ( !$Service{$ServiceKey} ) {
$ServiceRegister{Disabled} = 1;
}
else {
push @ServiceList, \%ServiceRegister;
}
# set service as printed
$AddedServices{$ServiceKey} = 1;
}
}
return \@ServiceList;
Although it would be quite convenient for us if this would be an adjustable configuration - to disable not needed elements or to hide those...
Ar cieņu / Kind regards,
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
-
- Znuny expert
- Posts: 213
- Joined: 02 Dec 2010, 16:53
- Znuny Version: 6.0.29
- Real Name: Marc
- Company: National Jewish Health
- Location: Denver, CO
Re: OTRS 3.1.1 - HOW Can I hide services not related to queu
fantastic! been looking for this one for quite a while (viewtopic.php?f=62&t=14222)
On a related question, has anyone found how to keep the Queue's from being listed out with double colons instead of indentations? (see above hyperlinked post for example)
On a related question, has anyone found how to keep the Queue's from being listed out with double colons instead of indentations? (see above hyperlinked post for example)
-
- Znuny newbie
- Posts: 10
- Joined: 10 Jan 2012, 17:44
- Znuny Version: 3.1.2
- Real Name: jeff
- Company: Creighton University
- Location: Creighton University, Omaha, NE
- Contact:
Re: OTRS 3.1.1 - HOW Can I hide services not related to queu
I tried the css route, but it didn't work. The else statement solved it for me. Since I'm a newbie, it took some time for me to figure out WHICH .pm files to modify. I had to modify AgentTicketEmail.pm and AgentTicketPhone.pm in the Kernel/Modules folder.
Jeff
Jeff
OTRS 3.1 on Linux with MySQL database connected to an Active Directory for Agents and Customers.