Script URL:
Version of script: 2.0
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi everyone,
AWESOME script ! i've been looking for something like this for a long time! I just installed it and im doing some modifications to fit what my website needs, if everything works fine (AKA if i dont mess it up!) i'll post the different changes i made.
I'm actually really new with PHP, but im trying to learn and use logic in order to get most of what i need to change
let's go to the question:
I need the index.php?a=add to display my custom fields based on the category i have selected, like if i choose category "Sales", to display custom fields before comments, if i choose category "Support" to display the custom fields after comments...
i think there's a way to get this done by using javascript reload(form) but im not sure how to get this done
any suggestions?
Thanks a lot!
displaying custom fields based on category selected
Moderator: mkoch227
I'm afraid this would require quite some work and is out of the scope of my support here.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
-
- Posts: 2
- Joined: Sun Dec 06, 2009 5:46 pm
Hacky Solution
I've created a hacky solution that should work provided you only have a few custom fields you need to display. It relies on another hack I did to provide only a single Problem Type (Category) from a URL parameter. I haven't quite finished it off, but I do have it working.
I realize this is an old post, but I thought I'd post my solution anyway. I'll be back shortly with the modifications.
Edit 1: As promised: http://wiki.cornempire.net/doku.php?id=hesk:start
This currently only modifies the Add Ticket screen, and not the View ticket or Admin views. I'll probably leave the admin view alone, since if you move a ticket, you may need to see/modify all of the custom fields. But I will try and set up the view ticket display to hide the category ids and the unneeded custom fields. Be back soon with an update.
Edit 2: The view ticket modification was pretty straight forward, so I've made that and written it up too. If you want to take a look at the modifications in action, take a look at http://helpdesk.cornempire.net The Moodle Hosting category is the one with special fields. You can play around without actually submitting a ticket.
If you have any comments about the modification, please make a comment on my blog post on Hesk: http://www.cornempire.net/2009/12/06/he ... ancements/
Hope this doesn't come off as an advertisement...I don't have a forum, so it is the best place to send comments.
I realize this is an old post, but I thought I'd post my solution anyway. I'll be back shortly with the modifications.
Edit 1: As promised: http://wiki.cornempire.net/doku.php?id=hesk:start
This currently only modifies the Add Ticket screen, and not the View ticket or Admin views. I'll probably leave the admin view alone, since if you move a ticket, you may need to see/modify all of the custom fields. But I will try and set up the view ticket display to hide the category ids and the unneeded custom fields. Be back soon with an update.

Edit 2: The view ticket modification was pretty straight forward, so I've made that and written it up too. If you want to take a look at the modifications in action, take a look at http://helpdesk.cornempire.net The Moodle Hosting category is the one with special fields. You can play around without actually submitting a ticket.

If you have any comments about the modification, please make a comment on my blog post on Hesk: http://www.cornempire.net/2009/12/06/he ... ancements/
Hope this doesn't come off as an advertisement...I don't have a forum, so it is the best place to send comments.
-
- Posts: 4
- Joined: Wed Jan 16, 2008 12:40 am
Thanks a zillion!!!
The only thing is that category 1 is selected by default and you cannot use that category to create a new ticket. I solved that issue creating a category called "Select a category" and changing it's ID to 1 with phpMyAdmin.
Thanks a lot. I really, really, needed that feature.
Regards,
The only thing is that category 1 is selected by default and you cannot use that category to create a new ticket. I solved that issue creating a category called "Select a category" and changing it's ID to 1 with phpMyAdmin.
Thanks a lot. I really, really, needed that feature.
Regards,
Re: displaying custom fields based on category selected
hmm, will this work for 2.3?? So happy to see this wiki still up...
has anything changed much as for the custom fields from 2.2 to 2.3??
has anything changed much as for the custom fields from 2.2 to 2.3??