Keksi Posted January 18, 2011 Share Posted January 18, 2011 Hello, I'm trying to include out customers invoices at the front page. A quick overall info about their customer status, but i cant get it to work. {foreach key=num item=invoice from=$invoices} <Here i have some code to show the invoices> {foreachelse} No results {/foreach} If i pase this code in clientareainvoices.tpl file, it works. But when i try to have it in the homepage.tpl file, i get the "No results" error, as defined if there are no invoices to show.. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted January 19, 2011 Share Posted January 19, 2011 you need to find the invoices and put them into the array 0 Quote Link to comment Share on other sites More sharing options...
Keksi Posted January 19, 2011 Author Share Posted January 19, 2011 Ok. As i have no idea how to do this, I'll ask nicely the good WHMCS team, to share their code in the As I have no idea how to do this, I'll ask nicely to the good WHMCS team, to share their code in the clientarea.php, so i maybe manage to copy paste something to make this work.. It would be nice if I didn't have to pay someone to reinvent the wheels.. A reply from you guys would be nice? Or maybe one of you other people already have done this, and are willing to share? 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.