neocorps Posted June 10, 2010 Share Posted June 10, 2010 Hello, Is there a list of default variables available in knowledgebase.php(or every variable available in WHMCS)? My problem here is, that I have a customized template and I would like to get the Category name when I click on a category. I noticed I can get it by using the $breadcrumbnav.. but I get everything like: Administration > knowledgebase > category 1 right now I got a different design and different links I'd like to include like so: Home > Support > Knowledge Base > Category 1 So I'm stuck there, how can I get the name of the previously selected category, I searched the forum and I understand that when I click an article the Category won't display, but this is before anyone has clicked anything. This is the webpage : http://www.neocorps.com/billing/knowledgebase.php?action=displaycat&catid=1 Right now I'm using the default $breadcrumbnav, but I'd like to stop using it. Thank you for the help. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 11, 2010 WHMCS Support Manager Share Posted June 11, 2010 Add {debug} to your template and a popup of available variables will appear: http://wiki.whmcs.com/Template_Syntax 0 Quote Link to comment Share on other sites More sharing options...
neocorps Posted June 11, 2010 Author Share Posted June 11, 2010 Add {debug} to your template and a popup of available variables will appear: http://wiki.whmcs.com/Template_Syntax Thanks John!, will try it today. 0 Quote Link to comment Share on other sites More sharing options...
xpafiolis Posted July 3, 2013 Share Posted July 3, 2013 Thanks John!, will try it today. did anyone ever figure this out? i ran the debug but the closest thing to the category title showing up was to show the whole breadcrumb.... how did you get it to work on your site? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.