adding category and message in Admin tickets table

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
uaeee
Posts: 2
Joined: Fri Sep 18, 2009 9:29 am

adding category and message in Admin tickets table

Post by uaeee »

Script URL: on intranet
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: add category

Write your message below:

I would like to add extra coloums in ticket table in administrator page to display category and message body..

Please help..

thank you!
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Unfortunately such customization is out of the scope of my support.
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
uaeee
Posts: 2
Joined: Fri Sep 18, 2009 9:29 am

Post by uaeee »

Appreciate your prompt response ..
thanks.. I just found code posted here viewtopic.php?t=745
really usefull
and I managed to add both as coloums to the table..
however,

I need help to display (message) truncated..ie,
display only first 50 charcaters.. no the whole message.

any idea?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You can use the substr() function
http://www.php.net/substr

In your case something like

Code: Select all

$somevar = substr($somevar,0,50);
Just replace $somevar with the variable you use.
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