1. Home
  2. Docs
  3. WHMCS Support Tickets Extended
  4. Installation
  5. Manual Edit Instructions

Manual Edit Instructions

With this addon module, a couple of template edits are necessary. This isn’t hard, and we’ll walk you through it. There are two options for this here.

  1. Copy the admin/templates/blend/viewticket.modified.tpl file to your admin/templates/blend/viewticket.tpl file. This is the easiest, and will likely be the safest. Just replace the entire contents of the file on your server, with the one in the distributed list.
  2. Make the following edits manually to admin/templates/blend/viewticket.tpl . This should also be done in any other templates you use.

Look for the following:

<li><a href="#tab2" role="tab" data-toggle="tab" onclick="loadTab(2, 'customfields', 0)">{$_ADMINLANG.setup.customfields}</a></li>

And replace it with this

<li><a href="#tab2" role="tab" data-toggle="tab">{$_ADMINLANG.setup.customfields}</a></li>

Then , further down the file, look for the following:

<div class="tab-pane" id="tab2">
<img src="images/loading.gif" align="top" /> {$_ADMINLANG.global.loading}
</div>

and replace that with this:

<div class="tab-pane" id="tab2">
{include file="$template/viewticketcustomfields.tpl"}
</div>

The view custom tickets template already exists in the directory, you’re just telling this file to be loaded instead of doing things how WHMCS originally did.

This change is only necessary if you would like ticket fields to be encrypted. If not, you can skip this change

Was this article helpful to you? Yes No

How can we help?