Jump to content

How to create custom page in whmcs ?

Recommended Posts

Here is a sample custom php file (test.php), you can upload it to the root folder of the whmcs.

You can extend the simple file to do anything.

Sky is your limit :)


use Illuminate\Database\Capsule\Manager as Capsule;
define("CLIENTAREA", true);

$ca = new WHMCS_ClientArea();

$ca->setPageTitle("My test page);

$ca->addToBreadCrumb('index.php', Lang::trans('globalsystemname'));
$ca->addToBreadCrumb('test.php', 'Test');


$ca->assign("response", $an_array);



test.tpl (place in the document root itself)

{if $response}

Test content



Share this post

Link to post
Share on other sites
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines