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

kbahey’s picture

Status: Active » Needs work

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.

visualnotion’s picture

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.

xamount’s picture

If someone can help submit a patch, I can help test and see that it gets committed...