dordal Posted August 12, 2008 Share Posted August 12, 2008 The homepage of the admin area has an Unpaid Invoices (XX) - Showing 5 Oldest... module. Does anybody know if it is possible to do a similar sort of list for active support tickets? 0 Quote Link to comment Share on other sites More sharing options...
mobile Posted August 12, 2008 Share Posted August 12, 2008 I have seen this on the clientarea page of the default template. I'm assuming you are using the WHMCS built-in support desk. Below is the code I got from the default template which shows the tickets: <p><strong>{$LANG.supportticketsopentickets}</strong> (<a href="submitticket.php">{$LANG.supportticketssubmitticket}</a>)</p> <table align="center" style="width:90%" class="clientareatable" cellspacing="1"> <tr class="clientareatableheading"><td>{$LANG.supportticketsdate}</td><td>{$LANG.supportticketssubject}</td><td>{$LANG.supportticketsstatus}</td><td>{$LANG.supportticketsticketurgency}</td></tr> {foreach key=num item=ticket from=$tickets} <tr class="clientareatableactive"><td>{$ticket.date}</td><td><div align="left"><img src="images/article.gif" hspace="5" align="middle" alt="" /><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}">{if $ticket.clientunread}<strong>{/if}#{$ticket.tid} - {$ticket.subject}{if $ticket.clientunread}</strong>{/if}</a></div></td><td width="120">{$ticket.status}</td><td width="80">{$ticket.urgency}</td></tr> {foreachelse} <tr class="clientareatableactive"><td colspan="4">{$LANG.supportticketsnoopentickets}</td></tr> {/foreach} </table> Hope this helps, Eddie 0 Quote Link to comment Share on other sites More sharing options...
dordal Posted August 13, 2008 Author Share Posted August 13, 2008 hi- thanks. I was actually talking about putting it on the admin homepage (in the file /whmcs/admin/templates/homepage.tpl ) That code doesn't work there, unfortunately. :-( Anybody else know of another way? D 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.