Hi All,
Actually when we login to the customer.pl, it directly shows the MyTickets page.
I want to customize to show some other page. Can i know where i have to change for it to happen, i tried but dint find solution,
after login it points to url Action=CustomerTicketOverview;Subaction=MyTickets i want to change the Action=CustomerTicketOverview; to some other one How can i change this,
Any help is appreciated in resolving this
Thanks in advance,
Jayadeep.
How to change Mytickets page after customer login
Moderator: crythias
-
- Znuny advanced
- Posts: 108
- Joined: 29 Feb 2008, 16:30
- Znuny Version: 3.x 4.x 5.x 6.x
- Real Name: Oliver Oltmanns
- Company: i-cron
- Location: Köln
- Contact:
Re: How to change Mytickets page after customer login
I´d be interessted also.
Changing the Screen after Login
Action=CustomerTicketOverView;Subaction=MyTickets
to
Action=CustomerTicketOverView;Subaction=CompanyTickets
I have already changed the action values under
Ticket -> Frontend::Customer::ModuleRegistration
without change. >It seems to get its value by another source. If you could point into the right direction, where else those url actions are defined.
Changing the Screen after Login
Action=CustomerTicketOverView;Subaction=MyTickets
to
Action=CustomerTicketOverView;Subaction=CompanyTickets
I have already changed the action values under
Ticket -> Frontend::Customer::ModuleRegistration
without change. >It seems to get its value by another source. If you could point into the right direction, where else those url actions are defined.
i-cron OTRS IT-Service Management
https://i-cron.de
https://i-cron.de
-
- Znuny advanced
- Posts: 108
- Joined: 29 Feb 2008, 16:30
- Znuny Version: 3.x 4.x 5.x 6.x
- Real Name: Oliver Oltmanns
- Company: i-cron
- Location: Köln
- Contact:
Re: How to change Mytickets page after customer login
I have changed the default value in the file
Modules/CustomerTicketOverview.pm
Line 86
from
OP => 'Action=CustomerTicketOverview;Subaction=MyTickets',
OP => 'Action=CustomerTicketOverview;Subaction=CompanyTickets',
wich seems to work for now, but I could imagine, that there might be a "cleaner" solution to this.
Modules/CustomerTicketOverview.pm
Line 86
from
OP => 'Action=CustomerTicketOverview;Subaction=MyTickets',
OP => 'Action=CustomerTicketOverview;Subaction=CompanyTickets',
wich seems to work for now, but I could imagine, that there might be a "cleaner" solution to this.
i-cron OTRS IT-Service Management
https://i-cron.de
https://i-cron.de
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to change Mytickets page after customer login
Try this:
Edit Config Settings in Ticket -> Frontend::Customer
CustomerFrontend::CommonParam###Action
Default value: CustomerTicketOverview
Change it to: CustomerTicketOverview;Subaction=CompanyTickets
Defines the default used Frontend-Module if no Action parameter given in the url on the customer interface
Edit Config Settings in Ticket -> Frontend::Customer
CustomerFrontend::CommonParam###Action
Default value: CustomerTicketOverview
Change it to: CustomerTicketOverview;Subaction=CompanyTickets
Defines the default used Frontend-Module if no Action parameter given in the url on the customer interface
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny advanced
- Posts: 108
- Joined: 29 Feb 2008, 16:30
- Znuny Version: 3.x 4.x 5.x 6.x
- Real Name: Oliver Oltmanns
- Company: i-cron
- Location: Köln
- Contact:
Re: How to change Mytickets page after customer login
Thank you for your quick response.
That is what I also tried prior to changing the file, without success.
The error, If I recall correctly, was something like Module CompanyTickets.pm does not exist. But maybe I have overseen something.
That is what I also tried prior to changing the file, without success.
The error, If I recall correctly, was something like Module CompanyTickets.pm does not exist. But maybe I have overseen something.
i-cron OTRS IT-Service Management
https://i-cron.de
https://i-cron.de
-
- Znuny newbie
- Posts: 3
- Joined: 16 Dec 2015, 23:20
- Znuny Version: 6 free
- Real Name: Dario Croci
- Company: AREU
Re: How to change Mytickets page after customer login
Hi.crythias wrote:Try this:
Edit Config Settings in Ticket -> Frontend::Customer
CustomerFrontend::CommonParam###Action
Default value: CustomerTicketOverview
Change it to: CustomerTicketOverview;Subaction=CompanyTickets
Defines the default used Frontend-Module if no Action parameter given in the url on the customer interface
I tried into otrs 5.0 what you suggest, but it doesn't work. Trying to login as customer, a fatal error is generated:
Code: Select all
Error details:
Backend ERROR: OTRS-CGI-99 Perl: 5.16.3 OS: linux Time: Thu Sep 1 23:05:46 2016
Message: Module Kernel/Modules/CustomerTicketOverviewSubactionCompanyTickets.pm not in @INC (/opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd)
RemoteAddress: xx.xx.xx.xx
RequestURI: /otrs/customer.pl?
Traceback (1420):
Module: Kernel::System::Web::InterfaceCustomer::Run Line: 196
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_customer_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
Thanks!
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to change Mytickets page after customer login
This is an old thread. If you look at the customer side and go to the page you want the customer to see, you'll get a better hint as to what is needed.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 3
- Joined: 16 Dec 2015, 23:20
- Znuny Version: 6 free
- Real Name: Dario Croci
- Company: AREU
Re: How to change Mytickets page after customer login
Hi crythias, thanks for your answer.crythias wrote:This is an old thread. If you look at the customer side and go to the page you want the customer to see, you'll get a better hint as to what is needed.
Unfortunately, even if I tried in any possible way (for me) looking at the customer side to understand wich could be the right way to set that parameter, I was't able to do it.
If I browse to the Company Ticket page, my URL looks like
Code: Select all
......./customer.pl?Action=CustomerTicketOverview;Subaction=CompanyTickets
For now I reached my pourpose in the "dirty way", manually changing opt/otrs/Kernel/Modules/CustomerTicketOverview.pm (now at line 43), but I would like to make it in a cleaner way, if possible.
Could you please be more specific about the right solution?
Many thanks in advance!