Ryan32
06-15-2003, 11:11 PM
How would i get rid of the "schedule" when i'm not online... Instead of showing that schedule, i'd just like it to show a form to submit a message..... or a link to our helpdesk..... How would i do that?
![]() | View Full Version : Editing chattist PHP files.... Ryan32 06-15-2003, 11:11 PM How would i get rid of the "schedule" when i'm not online... Instead of showing that schedule, i'd just like it to show a form to submit a message..... or a link to our helpdesk..... How would i do that? philihp 06-16-2003, 12:22 AM Could you elaborate on this? Is "Chattist" a software package? Ryan32 06-16-2003, 12:57 AM Chattist is a live chat support software.... Lots of people here have it. :) Ryan32 06-16-2003, 01:33 PM Anyone out there done this? Gotta be someone who has played with their copy of chattist..... Neo3Net 06-17-2003, 11:31 AM I don't have Chattist but it should be easy. Just need to find the statements that produce the schedule and alter them to display a link. Easy Internet | Erik 06-17-2003, 11:57 AM It is located in the file view_schedule.tpl in the directory chattist/client/templates <table width=100% cellpadding=1 cellspacing=1 border=0> <tr> <td class=formHead colspan=3>Company Schedule</td> </tr> <tr> <td class='formHead2'>Day <td class='formHead2'>Starting Time <td class='formHead2'>Closing Time </tr> {section name=day loop=$schedule} <tr> <td class='formSubHead'>{$schedule[day][0]} {if $schedule[day][1] == $schedule[day][2]} <td colspan=2 class='formSubHead'>No Operator will be online {else} <td class='formSubHead'>{$schedule[day][1]|date_format:"%I:%M: %p"} <td class='formSubHead' width='25%'>{$schedule[day][2]|date_format:"%I:%M: %p"} {/if} </tr> {sectionelse} <tr><td colspan=3>Schedule Does not exist for this company</tr</tr> {/section} </table> If you take out all the code between the { and } signs (and including the { } signs) it shouldn't be displayed anymore. |