Jump to content

General Help on Custom Script?


andyf

Recommended Posts

Hi everyone,

 

Not touched PHP for ages and haven't really understood the smarty variables but could someone point me in the right direction?

 

I have created a bare page using the code in the WHMCS KB. Now I want to add some php code to the tpl file (i think) and create a interface for administration purposes.

 

I am basically creating a download area whose files are specific to that client. SO I want to do the following:

 

1. Client logs into WHMCS Client ARea.

2. Clicks on Downloads Center Link (No problem with this)

3. Downloads appear in a list from mysql db that is already setup

 

I have been trying to use {php} and {/php} but just keep getting blank pages.

 

Is there a easy way of doing this or if someone could point me to a general tutorial or advice on how to add php within whmcs.

 

I copied the php code to a php file and called it and it works direct to the file but I want to try to integrate it with the WHCMs Client Area.

 

Thanks for any general advice

 

Cheers

Andy

Link to comment
Share on other sites

  • 3 weeks later...

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