Change the width of the Knowledge Base article fields

Change the width of the Knowledge Base article fields

sa05-2010-width5.jpgThe width of the Related Articles and Article Category fields can be modified so that full article titles and categories are visible.

Option Name Description
1. Open the KB Admin site using SharePoint Designer.
2. Under Bamboo KB Articles and Bamboo KB Categories, open EditForm.aspx and NewForm.aspx. sa05-2010-width1.jpg
3. From the ribbon, select Web Part Zone. (If this option is grayed out, use the ribbon to select Home > Advanced Mode.) Under Web Part, select Content Editor. sa05-2010-width3.jpg

sa05-2010-width2.jpg

4. Right-click on the Web Part and select Web Part Properties. Under Content Link, click sa05-2010-ellipsis.jpg and browse to Shared Documents > Bamboo_KB_Articles.js. Click OK and save the page. sa05-2010-width4.jpg
5. Return to the KB Admin site. Click All Site Content > Shared Document Library. Click Bamboo_KB_Articles and save the file to the local drive (or the desired location). sa05-2010-designer8.jpg
6. Use Notepad or the desired program to open the file. Change the value for the column width by modifying the value for var maxLimitWidth. The default value is 250. sa05-2010-designer9.jpg
7. Save the file and upload it to the Shared Documents Library. The Related Article and Article Category fields now display the full article title or category. sa05-2010-designer10.jpg