Fore selecting a category and see a category admin panel

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
lupolo
Posts: 214
Joined: Mon Apr 20, 2009 2:12 pm

Fore selecting a category and see a category admin panel

Post by lupolo »

How to force a client to choose a category wenn submitting a ticket? (accept the first one (default).

How to see a collum witch the ticket category next to the ticket id in the admin panel?
lupolo
Posts: 214
Joined: Mon Apr 20, 2009 2:12 pm

Re: Fore selecting a category and see a category admin panel

Post by lupolo »

lupolo wrote:How to see a collum witch the ticket category next to the ticket id in the admin panel?
Have the modified the admin panel list to show the catogory BUT how to show the name instead of the number?
lupolo
Posts: 214
Joined: Mon Apr 20, 2009 2:12 pm

Re: Fore selecting a category and see a category admin panel

Post by lupolo »

Nobody know's how to see the category name in the admin pannel? I have mod it to see the number, but do'n know how to fix the name
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Fore selecting a category and see a category admin panel

Post by Klemen »

This goes somewhere after including files:

Code: Select all

$my_cats = hesk_getCategoriesArray();
Then you can use $my_cats['CATEGORY_ID'] to get the name.
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
lupolo
Posts: 214
Joined: Mon Apr 20, 2009 2:12 pm

Re: Fore selecting a category and see a category admin panel

Post by lupolo »

Klemen wrote:This goes somewhere after including files:

Code: Select all

$my_cats = hesk_getCategoriesArray();
Then you can use $my_cats['CATEGORY_ID'] to get the name.
Thank you!

Must i also put this code into the ticket_list.inc.php? Mine extra line:

Code: Select all

<th class="admin_white" style="text-align:center; white-space:nowrap;"><a href="<?php echo $href . '?' . $query . $sort_possible['category'] . '&sort='; ?>category"><?php echo $hesklang['category']; ?></a></th>
And what about forcing to select a catogory for the customers?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Fore selecting a category and see a category admin panel

Post by Klemen »

Trial and eror - please try and test.

Forcing categories requires more work than I support I'm afraid.
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
Post Reply