Jump to content

$customfield.input File Field


HM2

Recommended Posts

Please if you can help me to integrate File Field within the WHMCS system. I would like to add in the system a new $customfield.input - File upload Field - in order to allow visitors to upload file when executing orders.

:shock: Please send me guidelines :shock:

Link to comment
Share on other sites

  • 1 month later...

In template//orderforms//configureproduct.tpl at begining of line 109 I put this code:

<tr>

<td class="fieldarea">{$LANG.supportticketsticketattachments}</td>

<td><input type="file" name="attachments[]" size="50" />

<a href="#" id="addfileupload"><img src="images/add.gif" class="absmiddle" border="0" alt="" /> {$LANG.addmore}</a><br />

<div id="fileuploads"></div>

({$LANG.supportticketsallowedextensions}: {$allowedfiletypes})</td>

</tr>

that I find in suportticketsubmit-steptwo.tpl, and now if there is defined custom field for product, on order form shows file field but still isn't working.

 

Am I on right way?

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