dancome89 Posted October 17, 2012 Share Posted October 17, 2012 Hello Some one know how to set it or modify template ? Thanks 0 Quote Link to comment Share on other sites More sharing options...
HardSoftCode Posted October 19, 2012 Share Posted October 19, 2012 Hi There is no setup for this option you need to modify the template file look for supportticketslist.tpl in your template folder search for this code {foreach key=num item=ticket from=$tickets} <tr> <td>{$ticket.date}</td> <td>{$ticket.department}</td> <td><div align="left"><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}"><img src="images/article.gif" alt="" border="0" /> {if $ticket.unread}<strong>{/if}#{$ticket.tid} - {$ticket.subject}{if $ticket.unread}</strong>{/if}</a></div></td> <td>{$ticket.status}</td> <td>{$ticket.lastreply}</td> <td class="textcenter"><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}" class="btn btn-inverse">{$LANG.supportticketsviewticket}</a></td> </tr> {foreachelse} replace it with this code {foreach key=num item=ticket from=$tickets} {if $ticket.status != '<span style="color:#888888">Closed</span>'} <tr> <td>{$ticket.date}</td> <td>{$ticket.department}</td> <td><div align="left"><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}"><img src="images/article.gif" alt="" border="0" /> {if $ticket.unread}<strong>{/if}#{$ticket.tid} - {$ticket.subject}{if $ticket.unread}</strong>{/if}</a></div></td> <td>{$ticket.status}</td> <td>{$ticket.lastreply}</td> <td class="textcenter"><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}" class="btn btn-inverse">{$LANG.supportticketsviewticket}</a></td> </tr> {/if} {foreachelse} it will hide all the closed tickets 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.