pwner99 Posted July 7, 2009 Share Posted July 7, 2009 I'm trying to customize my navbar and would like to include the url of the current page, but I'm having a problem. The navbar is just supposed to say what page you're on, and the link to that url but the $get.page function just links to mydomain.com/whmcs not mydomain.com/whmcs/knowledgebase.php or anything like that. Here's the code: <div class="left"><a href="index.php">Portal Home</a> > <a href="{$get.page}">{$pagetitle}</a></div> So what it does is: Portal Home > Knowledgbase (or whatever page I'm on) which is good but it does not hyperlink the current page correctly (just links to the whmcs dir). I've tried again and again, but nothing seems to work, I keep thinking it might be something in my .htaccess file or the way I'm chmoding my tpl files (chmod 600) but could it be that? 0 Quote Link to comment Share on other sites More sharing options...
pwner99 Posted July 7, 2009 Author Share Posted July 7, 2009 bump bump 0 Quote Link to comment Share on other sites More sharing options...
jaygreentree Posted July 7, 2009 Share Posted July 7, 2009 to my knowledge {$get.page} doesn't exist in whmcs. I've looked thru the docs and don't see anything. 0 Quote Link to comment Share on other sites More sharing options...
pwner99 Posted July 8, 2009 Author Share Posted July 8, 2009 It's a command within smarty, http://smarty.net/manual/en/language.variables.smarty.php. In there its {$smarty.get.page} but that turned out to be as useless as {$get.page} 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.