Kayako logo
Modifications & Addon Releases Modification guides and addons are posted here to share with the community. Do not post requests in here!

Notices

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
Dynadata Offline
Member
 
Posts: 171
Join Date: Feb 2008
Location: Netherlands
Add display order by "Manage Departments" - 21-03-2008, 08:25 AM

I have many departments and sub-departments and finally lost the overview.
So I add the display order by the departmens list.
If you now order by the display order you will see the same order as your customers see.
Thought might be intresting to share!

Open:
Code:
\modules\core\admin_departments.php
Find:
Code:
 
$fields[0]["name"] = "title";
$fields[0]["title"] = $_SWIFT["language"]["deptitle"];
$fields[0]["width"] = "";
 
$fields[1]["name"] = "departmenttype";
$fields[1]["title"] = $_SWIFT["language"]["deptype"];
$fields[1]["width"] = "100";
$fields[1]["align"] = "center";
 
$fields[2]["name"] = "departmentmodule";
$fields[2]["title"] = $_SWIFT["language"]["depmodule"];
$fields[2]["width"] = "120";
$fields[2]["align"] = "center";
 
$fields[3]["type"] = "custom";
$fields[3]["name"] = "options";
$fields[3]["title"] = $_SWIFT["language"]["options"];
$fields[3]["width"] = "150";
$fields[3]["align"] = "center";
Replace with:
Code:
 
$fields[0]["name"] = "title";
$fields[0]["title"] = $_SWIFT["language"]["deptitle"];
$fields[0]["width"] = "";
 
$fields[1]["name"] = "displayorder";
$fields[1]["title"] = $_SWIFT["language"]["displayorder"];
$fields[1]["width"] = "120";
$fields[1]["align"] = "center";
 
$fields[2]["name"] = "departmenttype";
$fields[2]["title"] = $_SWIFT["language"]["deptype"];
$fields[2]["width"] = "100";
$fields[2]["align"] = "center";
 
$fields[3]["name"] = "departmentmodule";
$fields[3]["title"] = $_SWIFT["language"]["depmodule"];
$fields[3]["width"] = "120";
$fields[3]["align"] = "center";
 
$fields[4]["type"] = "custom";
$fields[4]["name"] = "options";
$fields[4]["title"] = $_SWIFT["language"]["options"];
$fields[4]["width"] = "150";
$fields[4]["align"] = "center";
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 5,391
Join Date: Jun 2005
Location: Cumbria, UK
21-03-2008, 09:17 AM

Thanks for sharing that with the community. I am sure many users will find it useful.


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
Reply

Tags
departments, display, manage

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
Knowledgebase display order MattM How do I? 2 19-10-2007 09:51 AM
Widget Display Order MarkC SupportSuite, eSupport and LiveResponse 1 23-03-2006 09:57 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