Exemplo n.º 1
0
 function showCalloutAction()
 {
     @($id = DevblocksPlatform::importGPC($_REQUEST['id'], 'string'));
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->assign('path', $this->_TPL_PATH);
     $callouts = CerberusApplication::getTourCallouts();
     $callout = array();
     if (isset($callouts[$id])) {
         $callout = $callouts[$id];
     }
     $tpl->assign('callout', $callout);
     $tpl->display('file:' . $this->_TPL_PATH . 'internal/tour/callout.tpl');
 }
Exemplo n.º 2
0
 function run(DevblocksHttpResponse $response, Smarty $tpl)
 {
     $path = $response->path;
     $callouts = CerberusApplication::getTourCallouts();
     switch (array_shift($path)) {
         case 'welcome':
             $tour = array('title' => 'Welcome!', 'body' => "This assistant will help you become familiar with the helpdesk by following along and providing information about the current page.  You may follow the 'Points of Interest' links highlighted below to read tips about nearby functionality.", 'callouts' => array($callouts['tourHeaderMenu']));
             break;
         case "display":
             $tour = array('title' => 'Display Ticket', 'body' => "This screen displays the currently selected ticket.  Here you can modify the ticket or send a new reply to all requesters.<br><br>Clicking the Requester History tab will show all the past and present tickets from the ticket's requesters. This is an easy way to find and merge duplicate tickets from the same requester, or from several requesters from the same organization.<br><br>Often, a ticket may require action from several workers before it's complete. You can create tasks for each worker to track the progress of these actions. In Cerberus Helpdesk, workers don't \"own\" tickets. Each ticket has a \"next worker\" who is responsible for moving the ticket forward.<br><br>A detailed walkthrough of the display ticket page is available here: <a href=\"http://www.cerberusweb.com/tour/display\" target=\"_blank\">http://www.cerberusweb.com/tour/display</a>", 'callouts' => array($callouts['tourDisplayConversation'], $callouts['btnReplyFirst'], $callouts['tourDisplayPaging'], $callouts['displayOptions']));
             break;
         case "preferences":
             $tour = array('title' => 'Preferences', 'body' => 'This screen allows you to change the personal preferences on your helpdesk account.');
             break;
         case "groups":
             $tour = array('title' => 'My Groups', 'body' => 'This screen allows you to administer and configure groups for which you are a manager.  This includes members, buckets, mail routing rules, and other group-specific preferences.');
             break;
         case "config":
             switch (array_shift($path)) {
                 default:
                 case NULL:
                 case "general":
                     $tour = array('title' => 'General Settings', 'body' => 'These settings control the overall behavior of the helpdesk.');
                     break;
                 case "workflow":
                     $tour = array('title' => 'Team Configuration', 'body' => "Here you may create new helpdesk workers and organize them into teams.  Common teams often include departments (such as: Support, Sales, Development, Marketing, Billing, etc.) or various projects that warrant their own workloads.");
                     break;
                 case "fnr":
                     $tour = array('title' => 'Fetch & Retrieve', 'body' => "The Fetch & Retrieve config allows you to define a wide variety of sources for pulling support data from (wikis, blogs, kbs, faqs, etc).  Any source that returns RSS-style XML results to a search can be used.");
                     break;
                 case "mail":
                     $tour = array('title' => 'Mail Configuration', 'body' => "This section controls the heart of your helpdesk: e-mail.  Here you may define the routing rules that determine what to do with new messages.  This is also where you set your preferences for sending mail out of the helpdesk.  To configure the POP3 downloader, click 'helpdesk config'->'scheduler'->'POP3 Mail Checker'", 'callouts' => array($callouts['tourConfigMailRouting']));
                     break;
                 case "maintenance":
                     $tour = array('title' => 'Maintenance', 'body' => 'This section is dedicated to ensuring your helpdesk continues to operate lightly and quickly.', 'callouts' => array($callouts['tourConfigMaintPurge']));
                     break;
                 case "extensions":
                     $tour = array('title' => 'Extensions', 'body' => "This is where you may extend Cerberus Helpdesk by installing new functionality through plug-ins.", 'callouts' => array());
                     break;
                 case "jobs":
                     $tour = array('title' => 'Scheduler', 'body' => "The scheduler is where you can set up tasks that will periodically run behind-the-scenes.", 'callouts' => array());
                     break;
             }
             break;
         case NULL:
         case "tickets":
             switch (array_shift($path)) {
                 default:
                 case NULL:
                 case 'overview':
                     $tour = array('title' => 'Mail Overview', 'body' => "The Mail tab provides the ability to compose outgoing email as well as view lists of tickets, either here in the general overview, in specific search result lists, or in your personalized ticket lists in 'my workspaces'.  A detailed walkthrough of the mail page is available here: <a href=\"http://www.cerberusweb.com/tour/overview\" target=\"_blank\">http://www.cerberusweb.com/tour/overview</a>", 'callouts' => array($callouts['tourOverviewSummaries'], $callouts['tourOverviewWaiting'], $callouts['overview_all_actions'], $callouts['viewoverview_all']));
                     break;
                 case 'lists':
                     $tour = array('title' => 'My Workspaces', 'body' => 'Here is where you set up personalized lists of tickets.  Any Overview or Search results list can be copied here by clicking the "copy" link in the list title bar.', 'callouts' => array($callouts['tourDashboardViews']));
                     break;
                 case 'search':
                     $tour = array('title' => 'Searching Tickets', 'body' => '', 'callouts' => array($callouts['tourDashboardSearchCriteria']));
                     break;
                 case 'compose':
                     $tour = array('title' => 'Compose Mail', 'body' => '');
                     break;
                 case 'create':
                     $tour = array('title' => 'Log Ticket', 'body' => '');
                     break;
             }
             break;
         case 'contacts':
             switch (array_shift($path)) {
                 default:
                 case NULL:
                 case 'orgs':
                     $tour = array('title' => 'Organizations', 'body' => '', 'callouts' => array());
                     break;
                 case 'addresses':
                     $tour = array('title' => 'Addresses', 'body' => '', 'callouts' => array());
                     break;
                 case 'import':
                     $tour = array('title' => 'Importing Orgs and Addresses', 'body' => 'Use this screen to import Organizational and Address info.  The import allows comparison checking to do incremental imports and not duplicate data.', 'callouts' => array());
                     break;
             }
             break;
         case 'kb':
             $tour = array('title' => 'Knowledgebase', 'body' => "", 'callouts' => array());
             break;
         case 'tasks':
             $tour = array('title' => 'Tasks', 'body' => "Often, a ticket may require action from several workers before it's complete. You can create tasks for each worker to track the progress of these actions. In Cerberus Helpdesk, workers don't \"own\" tickets. Each ticket has a \"next worker\" who is responsible for moving the ticket forward.", 'callouts' => array());
             break;
         case 'community':
             $tour = array('title' => 'Communities', 'body' => 'Here you can create Public Community interfaces to Cerberus, including Knowledgebases, Contact Forms, and Support Centers.', 'callouts' => array());
             break;
     }
     if (!empty($tour)) {
         $tpl->assign('tour', $tour);
     }
 }