Disable ticket creation via customer portal
Moderator: crythias
Disable ticket creation via customer portal
Is it possible to disable ticket creation via customer portal? I would like customers to be able to track their tickets and add notes to them, but not create new tickets. How can I achieve this
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- Znuny expert
- Posts: 213
- Joined: 04 Nov 2012, 23:58
- Znuny Version: OTRS 4.x
- Real Name: Esteban
- Company: NORTON DE COLOMBIA
Re: Disable ticket creation via customer portal
Edit your Config.pm and below your own configuration
add this
and then exec otrs.RebuildConfig.pl
if you dont see any changes.. restart your webserver
add this
Code: Select all
delete $Self->{"CustomerFrontend::Module"}->{CustomerTicketMessage};
if you dont see any changes.. restart your webserver
Re: Disable ticket creation via customer portal
Thanks for your reply. Could you be more specific where exactly I should add the said line of code after end of my own config options. I tried adding it in sections below as well as before the } in the own config section. Below is the last part of my config
Code: Select all
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# end of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
}
# ---------------------------------------------------- #
# needed system stuff (don't edit this) #
# ---------------------------------------------------- #
use base qw(Kernel::Config::Defaults);
# -----------------------------------------------------#
1;
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Re: Disable ticket creation via customer portal
Never mind I could simply uncheck:
Code: Select all
CustomerFrontend::Module###CustomerTicketMessage
in
Ticket -> Frontend::Customer::ModuleRegistration
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Disable ticket creation via customer portal
Right before the code you've shown!
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Disable ticket creation via customer portal
Hehe, thanks!
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache