CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Profile file field in Drupal user registration does not appear to upload
Pages: [1]

Author Topic: Profile file field in Drupal user registration does not appear to upload  (Read 3782 times)

nikkislaw

  • Guest
Profile file field in Drupal user registration does not appear to upload
January 15, 2009, 04:34:53 pm
I have a profile that uses a custom file field.  The profile is used only for User Registration on my Drupal site.  When I complete all the profile fields, including putting an image file in the file field, and save the profile all goes well.  When I view the newly created contact record in CiviCRM the image isn't there.  When I go to edit the contact record through CiviCRM the file field is empty.

The custom file field works perfectly if I create the new contact through CiviCRM .  I've been searching a long time for an answer, but like my file field I've come up empty.

Can someone please point me in the right direction? I'd be very grateful as I'm close to wrapping up this project, but this has stumped me.  Thank you in advance!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile file field in Drupal user registration does not appear to upload
January 15, 2009, 09:01:31 pm
Currently it is not possible to upload files via User Registration form using Custom Data.

Kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Profile file field in Drupal user registration does not appear to upload
January 16, 2009, 10:34:33 am
Quote from: Kurund Jalmi on January 15, 2009, 09:01:31 pm
Currently it is not possible to upload files via User Registration form using Custom Data.

My understanding is that this limitation is because we haven't figure out how to do it given that the User Registration form POST is controlled by Drupal and not by CiviCRM. If you figure out a way to fix this, a patch would be awesome.

Your alternative is to direct folks to a CiviCRM Profile for registration, and enable User Account Creation in the Profile's Advanced Settings. Then you should be able to register them, collect info and upload attachment(s).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Profile file field in Drupal user registration does not appear to upload

This forum was archived on 2017-11-26.