Disable New Ticket Tab on the Customer Portal

Moderator: crythias

Locked
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Disable New Ticket Tab on the Customer Portal

Post by stonkers »

Is it possible to disable the "New Ticket" screen for customers on the Customer Portal? I'd like them to be able to see their tickets, but not be able to enter one. I have a custom webpage set up for them entering their tickets and I don't want them to be able to bypass my form.

Thanks,
Eric
jstuedle
Znuny newbie
Posts: 6
Joined: 19 May 2011, 00:10
Znuny Version: 3.0 (en)
Real Name: Joel Stuedle
Company: Northeast Texas Community College

Re: Disable New Ticket Tab on the Customer Portal

Post by jstuedle »

In the SysAdmin navigate to Frontend::Customer::ModuleRegistration and Uncheck the option next to CustomerFrontend::Module###CustomerTicketMessage - Gets rid of the new ticket button on the customer portal.
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Disable New Ticket Tab on the Customer Portal

Post by stonkers »

Thanks!
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Disable New Ticket Tab on the Customer Portal

Post by stonkers »

Uhhh, well, I don't have that option. I'm in 3.0. Is that a 2.X option maybe? Here's all I have...

Frontend::Customer::ModuleRegistration:

CustomerFrontend::Module###Logout
CustomerFrontend::Module###CustomerPreferences
CustomerFrontend::Module###CustomerAccept
CustomerFrontend::Module###PictureUpload
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Disable New Ticket Tab on the Customer Portal

Post by stonkers »

NM, found it. It's in Ticket -> Frontend::Customer::ModuleRegistration rather than Framework -> Frontend::Customer::ModuleRegistration where I was. This place is a bit confusing ;0)
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Disable New Ticket Tab on the Customer Portal

Post by stonkers »

OK, so that tab is gone, sweet! But now when a new customer logs on there, it still prompts them "Do you want to create a new ticket". How do I remove that prompt?
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Disable New Ticket Tab on the Customer Portal

Post by stonkers »

Well, searched around and figured out part of it. I hacked the file:

/opt/otrs/Kernel/Output/HTML/Standard/CustomerTicketOverview.dtl

And commented out:

Code: Select all

            <p>
                $Text{"Please click the button below to create your first ticket."}
            </p>
            <a class="Button" href="$Env{"Baselink"}Action=CustomerTicketMessage">$Text{"Create your first ticket"}</a>
I know, don't hack the standard theme, create a custom theme. Another NEWB question: Is there a way to set all customers to the custom theme once you create it?

Thanks,
Eric
Locked