Closed (fixed)
Project:
Contact Attach
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2010 at 06:13 UTC
Updated:
14 Feb 2013 at 12:19 UTC
I've installed Contact Attach, and it works great with the site-wide contact form and the user contact form.
I am however trying to use this for a Job recruitment type website, where the user fills in a form built with CCK fields and at the end supplies an email address which is directed to an Email Contact Form, instead of showing the address itself.
The primary aim of using Contact Attach is so that applicants can attach their CV to this contact form, but the attachment does not appear on this particular form.
My other option is to replace the email field with user reference, which directs them to the person's profile and not their contact form, which is a bit scrappy.
Comments
Comment #1
burningdog commentedThe form that you've built using the CCK fields - I'm guessing that's a new content type?
What's the url where users go to when they click on the email address? Is that contact form an example of the sitewide contact form or is it the user's contact form?
Comment #2
inky@inky3d.com commentedYes, it is a new content type, to create the Job form.
I've used the Email CCK type for the email field and under the "display fields" tabs, I've set it to be "Email Contact Form", which keeps the email address hidden to the user.
The url is: www.example.com/email/140/field_job_email
where the number (in this case 140) is an incremental number assigned to each node that uses the form
The contact form itself appears the same as a user's contact form, and not the sitewide version.
Comment #3
oadaeh commentedThis module was designed with one very specific purpose: to add one or more attachments to the core Drupal Contact form.
In order to achieve that aim, this module uses the hook_form_alter() function call to modify the Contact form itself, adding the necessary form fields, and no other forms.
It was not designed in such a way that you can do with it what you are trying to do.
Comment #4
inky@inky3d.com commentedis there any other way one can add an attachment to this type of form?
Or should I move this query to CKK/email field?
Comment #5
oadaeh commentedI would start looking here:
http://drupal.org/project/modules?filters=drupal_core%3A87%20tid%3A88&te...
In that list are a couple of possibilities to check out:
http://drupal.org/project/email_filefield
http://drupal.org/project/download_file
There is also http://drupal.org/project/filefield that might do what you want.
There might be other options, but that's where I would start looking.
Comment #6
nellngun commentedHi did you finally get the answer how to solve it?