hostlike Posted January 31, 2011 Share Posted January 31, 2011 Hi I understand and know how to update and change the .tpl files, what I want to do is add another page in the client area, say for bonuses or something. I followed all the advice given here on the forum and about customizing and the documentations. yet when I try to create the .php file it is not pulling the template file I entered into it? I am not the greatest with php I know a little, but do know a lot about html and understand how the .tpl files work, just how to I create my own pages for the client area? I did notice that some of the pages links have after like clientarea.php?action=domians I do not understand this or how to do this for my pages. If someone could point me in the right direction or help me get at least one page up I could take it from there. Thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 31, 2011 WHMCS Support Manager Share Posted January 31, 2011 Attach the php file and template you've created and we can take a look. 0 Quote Link to comment Share on other sites More sharing options...
hostlike Posted January 31, 2011 Author Share Posted January 31, 2011 Attach the php file and template you've created and we can take a look. I have uploaded them hopefully correctly John, I have never uploaded to a forum before so hope I did it right, and thank you! clientareabonus.zip bonus.zip 0 Quote Link to comment Share on other sites More sharing options...
hostlike Posted February 1, 2011 Author Share Posted February 1, 2011 I really need to get this figured out please. John were you able to download the pages? 0 Quote Link to comment Share on other sites More sharing options...
hostlike Posted February 2, 2011 Author Share Posted February 2, 2011 How long do I have to wait, I need to get this site up and running asap 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted February 2, 2011 Share Posted February 2, 2011 obvious mistake would be $templatefile = "/clients/templates/portal-1/clientareabonus"; outputClientArea($clientareabonus); I think you mean $templatefile not $clientarebonus 0 Quote Link to comment Share on other sites More sharing options...
hostlike Posted February 2, 2011 Author Share Posted February 2, 2011 thank you for responding othellotech, I changed the $clientareabonus to $templatefile and the template still won't show up on the page. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 2, 2011 WHMCS Support Manager Share Posted February 2, 2011 FIND: $templatefile = "/clients/templates/portal-1/clientareabonus"; REPLACE WITH: $templatefile = "clientareabonus"; The forums are for user-to-user support. If you'd like a response from staff it's always best to open a support ticket. 0 Quote Link to comment Share on other sites More sharing options...
hostlike Posted February 2, 2011 Author Share Posted February 2, 2011 Thank you John that did the trick. I will remember that when I need help and would like to talk to staff to submit a support ticket. Thank you again. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.