Needs work
Project:
Job Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2009 at 20:59 UTC
Updated:
14 Apr 2009 at 14:36 UTC
When a registered user clicks on the "Apply for this job" link, they are currently sent to the Create Content listing page.
It needs to send the user to the 'Create Resume' form to avoid confusing the user.
I hardcoded the content type 'resume' on lines 183-187:
if (!$resume_list) {
$msg = t('Please !create to apply', array('!create' => l(t('create a resume'), 'node/add/resume')));
drupal_set_message($msg);
drupal_goto("node/$job_nid");
}
And on line 195
array('!create' => l(t('create a new resume'), "node/add/resume")));
I'm not sure how to go about it, but I think the module should point to whatever content type you've chosen to use for resumes.
Comments
Comment #1
kbahey commentedThe issue is that assumes that you called the content type "resume". If someone calls it "cv" then that will not work.
We need to make it configurable so that it would use the configured type.
Comment #2
visualnotion commentedRight. I was just explaining what I did in my instance and my last sentence mentioned that it should detect the content type chosen for resumes.
Comment #3
xamountIf someone can help submit a patch, I can help test and see that it gets committed...