WHMCS includes the header.tpl and footer.tpl file on every request made from an addon module. In order for the public reports page to display properly you will need to do the following so the header and footer can be disabled programmatically.
- Edit your WHMCS template's header.tpl file
- At the top of the file add the following:
- {if $show_header ne "false"}
- At the bottom of the file add the following:
- {/if}
- Edit your WHMCS template's footer.tpl file
- At the top of the file add the following:
- {if $show_footer ne "false"}
- At the bottom of the file add the following:
- {/if}