Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
mburman Offline
New Member
 
Posts: 12
Join Date: Sep 2006
Creating Custom Events - 17-11-2006, 05:10 PM

Anyone know how to do this?

With an event I mean one such as "View Downloaded Files". You trigger it with a link "index.php?_m=downloads&_a=view".

It is then setup in a class "downloads" as
$events->registerEvent(EVENT_CLIENT, MODULE_DOWNLOADS, "view");

And finally you call upon some code in a eventcallback such as
if ($eventtype == EVENT_CLIENT && $eventaction == "view")
include_once("something.php");

It seems like a perfect way of building a plugin, but it seems to be registered in includes/functions.php as well, which is encrypted...

Any thoughts? How do you setup your customizations?

//Magnus
   
Reply With Quote
  (#2) Old
michaelP Offline
New Member
 
Posts: 24
Join Date: Aug 2005
20-11-2006, 12:38 PM

look in how existing modules do it.
It is not hard to understand, i did it a while ago for a plugin i created.
AFAIK in every module directory is a fill callled "modulname"_setup.php in which you can register custom events.
   
Reply With Quote
Reply

Tags
custom, events

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Error Creating Tables Danym SupportSuite, eSupport and LiveResponse 1 03-11-2006 11:22 AM



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


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 47 48