Posted by visualnotion on February 23, 2009 at 8:59pm
Jump to:
| Project: | Job Search |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
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:
<?php
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
<?php
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
#1
The 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.
#2
Right. 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.
#3
If someone can help submit a patch, I can help test and see that it gets committed...