Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecss
#foreach ($field in $editfields)
<!--<tr><td>$translator.Translate($TemplateHelper.GetLabel("Ticket", $field))</td><td>$TemplateHelper.GetFieldValue($Ticket, $field)</td></tr>-->
#if ($field == "User")
<tr><td>$translator.Translate($TemplateHelper.GetLabel("Ticket", $field))</td><td>$TemplateHelper.GetFieldValue($Ticket, $field)</td></tr>

#elseif ($field == "TicketStatus")
<tr><td>$translator.Translate($TemplateHelper.GetLabel("Ticket", $field))</td><td>$TemplateHelper.GetFieldValue($Ticket, $field)</td></tr>

#end
#end

Redirection from Login to Tickets Tab

Add the following to your link to the customerportal to redirect the user automatically to the tickets tab rather then the default screen on customerportal.

Code Block
login:'?ReturnUrl=/CustomerPortal/AddTicket.aspx?Ticket_ID=$Ticket.ID.ToString()'