Register   Login
     
  Latest Posts  
RE: Location Search
by rodneyjoyce on 12/02/2008 2:25 AM
RE: Lightbox not working on 2.04?
by wallacea on 12/02/2008 12:31 AM
RE: Lightbox not working on 2.04?
by smcculloch on 12/02/2008 12:20 AM
RE: Facebook-like Tagging People in Pictures...
by swebster on 12/02/2008 12:13 AM
Lightbox not working on 2.04?
by wallacea on 12/01/2008 11:45 PM
News Article css
by daviking on 12/01/2008 7:04 PM
RE: File Expiration Date
by jcochran on 12/01/2008 6:35 PM
RE: Set default value
by mariusm on 12/01/2008 6:29 PM
New Module - File Search
by jcochran on 12/01/2008 6:21 PM
RE: Display Name
by blob150 on 12/01/2008 3:07 PM
  Forums  
Subject: ENH - Multi FileUpload
Prev Next
You are not authorized to post a reply.

Author Messages
WarrenUser is Offline
Silver Membership
Nuke Newbie
Nuke Newbie
Posts:4

10/05/2008 7:34 PM  

Hi,

I was wondering how hard it would be to add a new custom field that would allow a user to upload multiple files to a single file upload field.  i.e. a user would be able to upload multiple PDF files that would come under one "heading"(field).

The way I was thinking of setting it up was similar to how Google Mail does it by allowing for multiple files to be added and to remove or add them with a click of a link.  The screenshot below shows what I mean:
File Upload image

Also if anyone can point me in the right direction to edit the source code to make these changes that would be much appreciated.

Regards,

Warren

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


10/06/2008 6:15 AM  
Could you add multiple custom fields of type file?

There is an article for editing the source code here

Scott McCulloch
Site Administrator
WarrenUser is Offline
Silver Membership
Nuke Newbie
Nuke Newbie
Posts:4

10/06/2008 6:23 PM  

I thought about having an predefined amount of file upload fields for each heading, i.e. I have four headings I want and I was going to have 5 file upload fields for them.  The problem is if they require more than that then I will have to include more fields and when there are editing or creating a new "property" the page that they would enter the information into would be quite big.

I have written some code that replicates the way that Google mail does their add attachments, but I am having difficulty in working out how I would go about creating my own custom field type with in the property agent module.

Would you be able to give me a quick run down on how I would be able to create my own custom field type within the property agent module?

You are not authorized to post a reply.
Forums > Modules > Property Agent > ENH - Multi FileUpload



ActiveForums 3.7