Kayako logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
guimafx Offline
New Member
 
Posts: 29
Join Date: Jul 2007
Location: Porto Alegre - Brazil
Support Center -> Submit ticket -> Choose Staff - 17-04-2008, 07:36 PM

Hi,

Here is what i wanna do.
That's should be so simple, but i'm not soo good with OO PHP.

Add a drop down inside template with all staffs NAMES and IDs.(I did already, very easy)

See below the example.






Them, when my client fill the form and submit, take this post vars to generate the ticket.

[_POST] => Array
(
[fullname] => John Donald
[email] => xxx@gmail.com7
[priorityid] => 3
[subject] => Need Help
[staffid] => 3
[message] => Bla Bla Bla
[ccaddresses] =>
[submit] => Send
[_m] => tickets
[_a] => submit
[departmentid] => 19
[step] => 2


I just need how to get theticketmaskid or ticketid.
Put that in some $var and make my update at the final of index.php


What i did ?

PHP Code:
echo $ticket[fticketid]; 

It did not worked.

Any idea ?

Regards,

Guilherme
   
Reply With Quote
  (#2) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,122
Join Date: Jan 2006
Location: United Kingdom
18-04-2008, 08:59 AM

Hi Guilherme,

I have moved your thread to the Developers and Code forum.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#3) Old
guimafx Offline
New Member
 
Posts: 29
Join Date: Jul 2007
Location: Porto Alegre - Brazil
Smile 22-04-2008, 06:32 PM

This script could be good for a lot of guys !

I just need to get the ticketid or ticketmaskid.

Please, HELP ME !

Guimafx
   
Reply With Quote
  (#4) Old
guimafx Offline
New Member
 
Posts: 29
Join Date: Jul 2007
Location: Porto Alegre - Brazil
Thumbs up 23-04-2008, 02:23 AM

Ok,
i'll solve the problem doing that.

In the end of PHP code at final of index.php

Make a SELECT with the last ticket id or mask from that email from swtickets, than, make UPDATE with staffowner.

Not the best solution, but i think it will work

Guimafx
   
Reply With Quote
Reply

Tags
>, center, choose, staff, submit, support, ticket

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support Center -> Submit ticket -> Choose Staff guimafx Marketplace 1 18-04-2008 08:46 AM
New Build: 3.10.02 STABLE Ryan Lederman News and Announcements 0 05-03-2007 09:53 PM
Kayako SupportSuite v3.04.10 Stable Build Varun Shoor News and Announcements 2 06-10-2006 09:41 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46