While browsing the WHMCS Forums, I found this post. It seemed like quite a simple tasks, and the overall issue was the same problem I had bumped into when I was writing another mod for the system. The issue with WHMCS is that some variables are only available on specific pages; since all of the WHMCS files are encoded, you can only modify the pages using the integrated tempate system which uses the Smarty Template Engine.
So anyway, the task was to show the top few knowledgebase articles on any template page in WHMCS. Rather than explaining how to install it here, I have just written a little readme.txt file and put that in with the other files. Installation should take you no more than 5 minutes. You can download it here (zip).
Please don’t host this anywhere else. If you would like to link to it, please just link to this post.
Update: Following a readers request, here is a modified version which allows you to get you knowledge base articles on any page (even if it’s not in the WHMCS directory). You can download this version here.
I am releasing this mod under the Creative Commons: Share Alike 2.0 License!
WHMCS KB Mod by Ben Harris is licensed under a Creative Commons Attribution-Share Alike 2.0 UK: England & Wales License.
Update: Thanks to the 160 users to date who found my mod useful :p http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=32