Kayako logo
Style & Design Customizing the look and feel of your support desk? Share thoughts and request assistance here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
vickyh Offline
New Member
 
Posts: 3
Join Date: Mar 2008
KB category display - 05-03-2008, 12:49 PM

I want to display the list of categories in the knowledgebase in a single column not in two columns.

Please could someone advise how to do this.

I fully understand HTML so reorganising the table isn't the problem. I don't know quite what to do with things like <{if $item[2][kbcategoryid] != ""}>

Many thanks
   
Reply With Quote
  (#2) Old
Salaria Offline
New Member
 
Posts: 17
Join Date: Jan 2008
05-03-2008, 01:58 PM

Hi Vickyh,

You have to modify "modules/knowledgebase/functions_clientkb.php" file as follows:

Remove code lines: 107-113

PHP Code:
if ($catmod == 0)
             {
                 
$splitcatlist[$splitindex][1] = &$categorylist[$dbCore->Record["kbcategoryid"]];
             } else if (
$catmod == 1) {
                 
$splitcatlist[$splitindex][2] = &$categorylist[$dbCore->Record["kbcategoryid"]];
                 
$splitindex++;
             } 
Add code lines: 107-108

PHP Code:
$splitcatlist[$splitindex][1] = &$categorylist[$dbCore->Record["kbcategoryid"]];
             
$splitindex++; 
I suppose this will help you.

Best Regards,
Mahesh Salaria
   
Reply With Quote
  (#3) Old
vickyh Offline
New Member
 
Posts: 3
Join Date: Mar 2008
05-03-2008, 02:25 PM

That is a step closer, but I'm still doing getting a correct display. Please see the attached screenshot. The article title only goes half way across, but as far as I can see the tables are set to 100%.

What am I missing?
Attached Images
File Type: gif kbscreen.gif (8.9 KB, 31 views)
   
Reply With Quote
  (#4) Old
Salaria Offline
New Member
 
Posts: 17
Join Date: Jan 2008
05-03-2008, 03:14 PM

Hi Vickyh,

You have edit template to fix this display issue. Got to Admin CP -> Templates -> Manage Templates -> Knowlegebase -> kbcatdisplay and search for :

<td width="50%"><div style="PADDING: 3px;">


and change width="100%",

Hope this will fix your issue.

Best Regards,
Mahesh Salaria
   
Reply With Quote
  (#5) Old
vickyh Offline
New Member
 
Posts: 3
Join Date: Mar 2008
06-03-2008, 09:47 AM

Thank you! That has fixed it.
   
Reply With Quote
  (#6) Old
jlui213 Offline
Member
 
Posts: 35
Join Date: Apr 2008
05-06-2008, 02:25 PM

I was just wondering, is it possible to make some sections one column and have another section have two columns?
   
Reply With Quote
Reply

Tags
category, display

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
Knowledgebase hen viewing category, take back to category Aaron Feature Requests 2 06-12-2007 02:48 PM
Downloads Ability to sort by category Aaron Feature Requests 0 16-11-2007 07:41 PM
Free A "read more" button in category display Deadlift Modifications & Addon Releases 4 03-10-2007 01:54 AM



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