Jump to content

cpt.price

Member
  • Posts

    6
  • Joined

  • Last visited

About cpt.price

cpt.price's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. hello how can i reach element in side bar ? for specific example i want to reach this one : {$ticketinfo} but i just found it in viewticket.tpl that ot my intrest and any change will not effect on other one that show in sidebar for extra information i upload the sidebar : uupload.ir/files/a4df_321433532454353453464564565788687698869879789.png where the submite date and last update is ? dos they called from any function or just like othere tpl use {} tag to call ? any information will be apriciated. sorry for spell.
  2. thanks to both of you.that was really helpful.i forgot to ask if i want to get ticket date with $temlate it would be ($template->getVariable('myVariable')->value) what ? $template->getVariable('ticket.date')->value or $template->getVariable('ticket','date')->value or ... ? thank you in advance.
  3. I want to convert my 5.X theme to 6.2.X and it's find but i got problem in foreach loop so my problem is get template variable in loop how i can get $ticket.date in for each loop ? {foreach key=num item=ticket from=$tickets} <tr> ====><td>{$ticket.date}</td> <td>{$ticket.department}</td> <td><DIV ALIGN="left"><img src="images/article.gif" hspace="5" align="middle"><a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}">{if $ticket.unread}<strong>{/if}{$ticket.subject}{if $ticket.unread}</strong>{/if}</a></DIV></td> <td>{$ticket.status}</td> <td width=80>{$ticket.urgency}</td> </tr> {foreachelse} <tr> <td colspan="5">{$LANG.norecordsfound}</td> </tr> {/foreach} i read http://docs.whmcs.com/Version_6_Template_Migration_Guide but still no luck. can some one help me on this ? if i want use this template in v6.2.X how should be foreach loop ?
  4. hi can anyone help me on this error : Fatal error: Uncaught SoapFault exception: [server was unable to process request. ---> Object reference not set to an instance of an object.] 0 in /home3/***/public_html/@@@/includes/classes/WHMCS/Terminus.php:0 Stack trace: #0 /home3/***/public_html/@@@/includes/classes/WHMCS/Terminus.php(0): WHMCS_Terminus::whmcsExceptionHandler() #1 [internal function]: WHMCS_Terminus->whmcsExceptionHandler(Object(SoapFault)) #2 {main} thrown in /home3/***/public_html/@@@/includes/classes/WHMCS/Terminus.php on line 0 after client want to register an account that error came with blank page but the registration job was done.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated