Jump to content

Can't Submit a ticket :(


anunay

Recommended Posts

I am customizing the theme for WHCMS, and i am stuck here in submitticket.php as it does not allowed me to submit ticket. It says that it requires email address and name from the user even if there is no field to enter such information in the form provided by whmcs.

 

Please have a look at the screenshot that i have attached here.

1277150769687.jpg

1277151030811.jpg

Link to comment
Share on other sites

You have to edit the viewticket.tpl for the template you use. I had the same problem for unregistered users.

 

after:

</div>
{/foreach}

 

Add:

<br>

<tr>
           <td width="120" class="fieldarea"></td>
           <td>{if $loggedin}{else}
             <input type="text" name="replyname" size=30 value="{$replyname}" />
             {/if}</td>
         </tr>
         <br>
          <tr>
           <td class="fieldarea"></td>
           <td>{if $loggedin}{else}
             <input type="text" name="replyemail" size=50 value="{$replyemail}" />
             {/if}</td>
         </tr>
         <tr>

 

It should resolve your issue.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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