Jump to content

Custom Page in Client area


paktangent

Recommended Posts

I am trying to add a custom page in client area to list invoices.

I have created a module for it. I have a function named

 

function invoice_generate_clientarea ($vars ) {

      return array(
            'templatefile' =>'moduletemplate.tpl'
      );
}

 

Now when i go to whmcs/index.php?m=invoice_generate

nothing is displayed. I have specified a template file in the above function and that templatefile moduletemplate.tpl also exists in module folder.

Link to comment
Share on other sites

The template name used in function is

 

'templatefile' => 'moduletemplate'

 

I appended tpl by mistake.. Stll it is not working .. @sparky has a module himself... I hope he can help upon it. No code is available for me to browse through, so i can sort the solution my self... this forum seems to be only resort.

 

I hope some one will help. Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated