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
SloppyB Offline
New Member
 
Posts: 2
Join Date: Apr 2008

SupportSuite
Hosted License
Skip Department (I've searched) - 29-04-2008, 03:46 AM

I'm using hosted SupportSuite and only have one department...therefore I would like to skip that step in the "Submit a Ticket" process.

I have found the thread:

HowTo: Skip department selection

However it is not clear to me, a total newbie, where and or how to insert this into the template correctly. I have tried to insert it many times but each time I screw up the template (lose the icons or it reformats the page). Currently I have the default code:

Code:
 
<{displaytemplate name="header"}>
 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
 <tr><td align="left" valign="top">
 
  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <{foreach key=key value=item from=$widgets}>
  <{if $item[split] eq 0}><tr><{/if}>
 
   <!-- BEGIN WIDGET: <{$item[title]}> -->
   <td width="50%"><table cellspacing="3" cellpadding="1" width="100%" border="0">
              <tbody>
                <tr>
                  <td valign="top" width="15" nowrap><a href="<{$item[link]}>"><img src="<{$item[icon]}>" border="0"></a></td>
                  <td width="98%" align="left" valign="top"><strong><a href="<{$item[link]}>" id="moduletitle"><{$item[title]}></a></strong><br />
     <span class="smalltext"><{$item[description]}></span></td>
                </tr>
              </tbody>
            </table></td>
   <!-- END WIDGET: <{$item[title]}> -->
  <{if $item[split] eq 1}></tr>
          <tr>
            <td height="4" colspan="2" background="<{$themepath}>linerepeat.gif"><img src="<{$themepath}>space.gif" width="1" height="4"></td>
            </tr><{/if}>
   <{/foreach}>
 
    <tr>
   <td height="5" bgcolor="#FFFFFF"><img src="<{$themepath}>space.gif" width="1" height="5"></td>
    </tr>
          <tr>
            <td colspan="2">
   <!-- QUICK BOX ITEMS -->
   <{if $istroubleshooterquickbox eq true}>
   <{displaytemplate name="tsquickbox"}>
   <{/if}>
   <{if $ispopularfilesqb == true}>
   <{displaytemplate name="dlpopularfilesquickbox"}>
   <{/if}>
   <{if $islatestfilesqb == true}>
   <{displaytemplate name="dllatestfilesquickbox"}>
   <{/if}>
   <{if $ispopulararticlesqb == true}>
   <{displaytemplate name="kbpopulararticlesqb"}>
   <{/if}>
   <{if $islatestarticlesqb == true}>
   <{displaytemplate name="kblatestarticlesqb"}>
   <{/if}>
   </td>
            </tr>
        </table>
</td><td width="5"><img src="<{$themepath}>space.gif" width="5" height="1"></td></tr>
</table>
  <{displaytemplate name="footer"}>
Any help would be great.
Thanks
/SloppyB
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 4,955
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
29-04-2008, 09:33 AM

Just delete everything there and replace with :-
Code:
<{foreach key=key value=item from=$widgets}>

<{if $item[split] eq 0}><tr><{/if}>
<!-- BEGIN WIDGET: <{$item[title]}> -->

<a href="<{$item[link]}><{if $item[link] == "index.php?_m=tickets&_a=submit"}>&departmentid=<{ $tgroup[departmentid]}>&step=1<{/if}>" id="moduletitle"><strong><{$item[title]}></strong></a>

<!-- END WIDGET: <{$item[title]}> -->
<{/foreach}>


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#3) Old
SloppyB Offline
New Member
 
Posts: 2
Join Date: Apr 2008

SupportSuite
Hosted License
29-04-2008, 06:49 PM

Thanks for the reply....but that is the same code in the thread I linked to. When I replace my index template with that I end up with a page with just text links and no graphics and so on. The code works but I lose too much interface. If you wouldn't mind explaining how I could implement that code into the code I posted so it all looks the same but still skips the department it would be greatly appreciated.

Thanks
/SloppyB
   
Reply With Quote
  (#4) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,238
Join Date: Apr 2007
Location: Toronto Canada

SupportSuite
Owned License
29-04-2008, 06:56 PM

You can also try:

One step ticket modification (download here)

However it is a softair mod that is not supported anymore.


Mehul
Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
Reply


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

vB 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
Restrict Department from seeing other Department and Users in Staff-panel Thijs How do I? 9 01-06-2008 05:48 PM
how do I get an alert when a ticket is assigned to a new department Rodney B How do I? 3 22-09-2007 01:18 PM
how to add a department in filter tickets view Angurio SupportSuite, eSupport and LiveResponse 1 18-01-2007 06:57 PM
HowTo: Skip department selection eiden Developers & Code 1 09-11-2006 03:10 PM
Unique template group for each Department and to list the same in department list sureshkumar.mr SupportSuite, eSupport and LiveResponse 2 29-09-2006 02:06 PM



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Kayako provides online help desk software and support solutions; enabling companies to improve their support and reduce costs.

Our three main products include: SupportSuite, eSupport and LiveResponse



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