Add popup before ticket form

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
caygri
Posts: 64
Joined: Sun Jul 23, 2017 12:56 pm

Add popup before ticket form

Post by caygri »

Hello,

it's possible add before on the end of ticket form a text popup or some text written in different color?
caygri
Posts: 64
Joined: Sun Jul 23, 2017 12:56 pm

Re: Add popup before ticket form

Post by caygri »

Hello I add some extra text from custom-ticket.php in themes but show in all department now...
how can I show this text in only one department form?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Add popup before ticket form

Post by Klemen »

Not sure which file you are editing, but if it's create-ticket.php you can use the variable $categoryId to find what the current category is.

Code: Select all

if ($categoryId == 1) {
    // do this...
} elseif ($categoryId == 4) {
    // do that...
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
caygri
Posts: 64
Joined: Sun Jul 23, 2017 12:56 pm

Re: Add popup before ticket form

Post by caygri »

I edit theme/hesk3/customer/create-ticket/create-ticket.php



ok i add this cycle.
Post Reply