Jump to content

help creating custom PDF's


Hotlinks

Recommended Posts

I have created new pages for the client area no problem using the

example provided at: http://wiki.whmcs.com/Creating_Pages

 

The problem is I can't seem to be able to create a PDF page.

 

When using example_001.php from the TCPDF examples I just see the text of the tpl file

 

When using my invoicepdf.tpl I get

 

Fatal error: Smarty error: [in default/statementpdf.tpl line 28]: syntax error: unrecognized tag: $pdf->Cell(0,4,trim($companyaddress[$i]),0,1,'R'); (Smarty_Compiler.class.php, line 446) in /var/www/whmcs/includes/smarty/Smarty.class.php on line 1093

 

Any help and suggestions or point me towards a working example would be greatly appreciated.

 

Thanks

 

Panny

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