broncha Posted November 2, 2011 Share Posted November 2, 2011 Hi, I am following the documentation for the provisional module for WHMCS. I am trying to implement "Additional Client Area Pages" My module function is returning the pagearray like this $result = "this is a test"; $pagearray = array( 'templatefile' => 'accountusagehistory', 'breadcrumb' => '><a href="#">Account Usage History</a>', 'vars' => array( 'usage' => $result, 'test' => "this is a test variable") ); return $pagearray; in the file accountusagehistory.tpl $test is accessible and displays properly but $usage is set to NULL. Where am I doing wrong? 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.