sharles_ Posted January 24, 2010 Share Posted January 24, 2010 How to add the last 3 or 5 whmcs emails received by the customer, putting the file clientareahome.tpl to be displayed when the customer comes into your member area, I've been putting well, it did not work: <tr><td> {foreach key=num from=$lastfivemail item=email} {$email.date} - <a href="#" onClick="window.open('clientsemails.php?&displaymessage=true&id={$email.id}','','width=650,height=400,scrollbars=yes');return false">{$email.subject}</a><br /> {foreachelse} <div style='text-align:center;'>No emails sent</div> {/foreach} </td></tr> nothing appears thus putting ... How to put Excuse my English, I have posted in the correct location Thanks to those who help me ... 0 Quote Link to comment Share on other sites More sharing options...
sharles_ Posted January 25, 2010 Author Share Posted January 25, 2010 Any solution to my question? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted January 25, 2010 Share Posted January 25, 2010 Any solution to my question? Please don't bump your threads. If someone knows, they will post. At any rate, you're grabbing code form the admin area and trying to make it work in the client area. I'd imagine that's working off a different query than the ones for clients, so that variable ($lastfivemail) won't be available to display. Try grabbing a similar thing located in the client area files and play with that. 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.