Results 1 to 7 of 7

Thread: How to add fields file upload

  1. #1
    damirg is offline Senior Member
    Join Date
    Mar 2009
    Posts
    26

    Default How to add fields file upload

    Hi,

    I must add one or more fields for upload file in the custom module.

    Like Task_For_Project module I must have multi attachment fileds.

    Any help will be appreciated.

    thanks

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: How to add fields file upload

    The simplest way to do this would be to build a relationship between your custom module and documents ... then you can upload and have an element of doc management

  3. #3
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: How to add fields file upload

    Using Module Builder you can create a module of File type. Try that out and publish and you'll see how to add your own file upload to your current module. One big gotcha is adding the appropriate enctype to your edtiviewdefs.php.

  4. #4
    damirg is offline Senior Member
    Join Date
    Mar 2009
    Posts
    26

    Default Re: How to add fields file upload

    salesagility thanks for your suggestion. I do this and work fine. Thanks.

  5. #5
    damirg is offline Senior Member
    Join Date
    Mar 2009
    Posts
    26

    Default Re: How to add fields file upload

    eggsurplus thanks for your response. I try to create a module type file without add field, after deploy I try to insert new row, but I have always a error: name fields haven't a default value.
    And second problem is create a document revision. I try to create a relation how existing documents and revision documents, but not function correctly.

    I use existing and work fine.

    thanks

  6. #6
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: How to add fields file upload

    Hi,

    The last version of Enhanced Studio 3.1.02beta has a working example doing exactly what you need.

    Please refer to the Sample 3 of the last release of the Admin's Manual for the exact procedure to use it.
    Patrizio Gelosi.
    Dispage - http://www.dispage.com

    Discover how to modify web pages from your browser with Jelliphy

    Follow us on Facebook and Twitter

  7. #7
    bawer is offline Junior Member
    Join Date
    Feb 2011
    Posts
    3

    Default Re: How to add fields file upload

    Quote Originally Posted by damirg View Post
    salesagility thanks for your suggestion. I do this and work fine. Thanks.
    what was the suggestion.. can you post it here please It would be really appreciated

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. file upload
    By esplgopal in forum Developer Help
    Replies: 10
    Last Post: 2011-05-06, 01:35 AM
  2. Upload File
    By marsahil in forum Developer Help
    Replies: 1
    Last Post: 2008-06-18, 05:26 PM
  3. Upload file
    By johnstevens in forum Help
    Replies: 0
    Last Post: 2005-02-24, 07:57 PM
  4. Upload file ?
    By tiboel13 in forum Help
    Replies: 1
    Last Post: 2005-02-16, 09:23 AM
  5. Replies: 1
    Last Post: 2004-10-13, 06:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •