Billing Control Panel Client Voip ms sql webadmin ms sql backup mysql webadmin Server Status

  • How do I install / display the “hide status” HTML form values?

    No comments August 6th, 2015 1033

    Below are the forms you will need to add into the 3 template files within your WHMCS template. Please note that we are not responsible for improper template editing and are not responsible for modifying the below templates to fit your template's design. If you require custom work, please contact your web designer / web developer. We recommend copying the below HTML codes to the bottom of each file.

    Products & Services
    clientareaproducts.tpl

    Change the {$services} variable to {$services2} and then add the following code to where you'd like the form to display.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    
    <h2>{$LANG.hide_by_status_hideservicestitle}</h2>
    <form action="clientarea.php?action=products{if $q}&q={$q}{/if}" method="post" name="statusFilter">
    <input type="hidden" name="statusfilterupdated" value="true">
    <table width="100%" cellspacing="0" cellpadding="0" class="frame">
        <tr>
          <td><table width="100%" border="0" cellpadding="10" cellspacing="0">
              <tr>
                <td width="150" class="fieldarea">{$LANG.hide_by_status_hideservices}</td>
                <td>
                  <!-- <input type="checkbox" name="hideactive" value="true" onclick="document.statusFilter.submit();" {if $hideactive}checked{/if}> {$LANG.hide_by_status_hideactiveservices}
                  <br /> -->
                  <input type="checkbox" name="hidepending" value="true" onclick="document.statusFilter.submit();" {if $hidepending}checked{/if}> {$LANG.hide_by_status_hidependingservices}
                  <br />
                  <input type="checkbox" name="hidesuspended" value="true" onclick="document.statusFilter.submit();" {if $hidesuspended}checked{/if}> {$LANG.hide_by_status_hidesuspendedervices}
                  <br />
                  <input type="checkbox" name="hideterminated" value="true" onclick="document.statusFilter.submit();" {if $hideterminated}checked{/if}> {$LANG.hide_by_status_hideterminatedservices}
                  <br />
                  <input type="checkbox" name="hidecancelled" value="true" onclick="document.statusFilter.submit();" {if $hidecancelled}checked{/if}> {$LANG.hide_by_status_hidecancelledservices}
                  <br />
                  <input type="checkbox" name="hidefraud" value="true" onclick="document.statusFilter.submit();" {if $hidefraud}checked{/if}> {$LANG.hide_by_status_hidefraudservices}
                </td>
             </tr>
          </table></td>
        </tr>
      </table>
    </form>

    Domains
    clientareadomains.tpl

    Change the {$domains} variable to {$domains2} and then add the following code to where you'd like the form to display.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    
    <h2>{$LANG.hide_by_status_hidedomainstitle}</h2>
    <form action="clientarea.php?action=domains" method="post" name="statusFilter">
    <input type="hidden" name="statusfilterupdated" value="true">
    <table width="100%" cellspacing="0" cellpadding="0" class="frame">
        <tr>
          <td><table width="100%" border="0" cellpadding="10" cellspacing="0">
              <tr>
                <td width="150" class="fieldarea">{$LANG.hide_by_status_hidedomains}</td>
                <td>
                  <!-- <input type="checkbox" name="hideactive" value="true" onclick="document.statusFilter.submit();" {if $hideactive}checked{/if}> {$LANG.hide_by_status_hideactivedomains}
                  <br /> -->
                  <input type="checkbox" name="hidepending" value="true" onclick="document.statusFilter.submit();" {if $hidepending}checked{/if}> {$LANG.hide_by_status_hidependingdomains}
                  <br />
                  <input type="checkbox" name="hidependingtransfer" value="true" onclick="document.statusFilter.submit();" {if $hidependingtransfer}checked{/if}> {$LANG.hide_by_status_hidespendingtransfersdomain}
                  <br />
                  <input type="checkbox" name="hidecancelled" value="true" onclick="document.statusFilter.submit();" {if $hidecancelled}checked{/if}> {$LANG.hide_by_status_hidecancelleddomains}
                  <br />
                  <input type="checkbox" name="hideexpired" value="true" onclick="document.statusFilter.submit();" {if $hideexpired}checked{/if}> {$LANG.hide_by_status_hideexpireddomains}
                </td>
             </tr>
          </table></td>
        </tr>
      </table>
    </form>

    Invoices
    clientareainvoices.tpl

    Change the {$invoices} variable to {$invoices2} and then add the following code to where you'd like the form to display.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    
    <h2>{$LANG.hide_by_status_hideinvoicestitle}</h2>
    <form action="clientarea.php?action=invoices" method="post" name="statusFilter">
    <input type="hidden" name="statusfilterupdated" value="true">
    <table width="100%" cellspacing="0" cellpadding="0" class="frame">
        <tr>
          <td><table width="100%" border="0" cellpadding="10" cellspacing="0">
              <tr>
                <td width="150" class="fieldarea">{$LANG.hide_by_status_hideinvoices}</td>
                <td>
                  <input type="checkbox" name="hidepaid" value="true" onclick="document.statusFilter.submit();" {if $hidepaid}checked{/if}> {$LANG.hide_by_status_hidepaidinvoices}
                  <br />
                  <input type="checkbox" name="hiderefunded" value="true" onclick="document.statusFilter.submit();" {if $hiderefunded}checked{/if}> {$LANG.hide_by_status_hiderefundedinstaoices}
                  <br />
                  <input type="checkbox" name="hidecancelled" value="true" onclick="document.statusFilter.submit();" {if $hidecancelled}checked{/if}> {$LANG.hide_by_status_hidecancelledinvoices}
                  <!-- <br />
                  <input type="checkbox" name="hideunpaid" value="true" onclick="document.statusFilter.submit();" {if $hideunpaid}checked{/if}> {$LANG.hide_by_status_hideunpaidinvoices} -->
                </td>
             </tr>
          </table></td>
        </tr>
      </table>
    </form>
    1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
    Loading...

No comments yet

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>