I see a history for employer to track who applied for posted job. How is the way for job applicant to track for their job application history?

Comments

kbahey’s picture

Title: Job Application History for Job Seeker » Implement Job Application History for Job Seeker
Category: support » feature

It does not exist yet.

Changing this to a feature request.

drupalgirl’s picture

Look forward to this feature. Thanks.

rvarkonyi’s picture

Hi there,

try importing this view and assign it to your "applicants" role

$view = new stdClass();
$view->name = 'applications';
$view->description = '';
$view->access = array (
0 => '3',
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = 'My job applications';
$view->page_header = '';
$view->page_header_format = '1';
$view->page_footer = '';
$view->page_footer_format = '1';
$view->page_empty = '';
$view->page_empty_format = '1';
$view->page_type = 'node';
$view->url = 'applications';
$view->use_pager = TRUE;
$view->nodes_per_page = '10';
$view->sort = array (
);
$view->argument = array (
);
$view->field = array (
array (
'tablename' => 'job',
'field' => 'uid',
'label' => 'Name',
),
array (
'tablename' => 'job',
'field' => 'resume_nid',
'label' => 'Resume',
),
array (
'tablename' => 'job',
'field' => 'timestamp',
'label' => 'Date / Time applied for',
),
);
$view->filter = array (
array (
'tablename' => 'job',
'field' => 'uid',
'operator' => '=',
'options' => '',
'value' => 'uid_current',
),
);
$view->exposed_filter = array (
);
$view->requires = array(job);
$views[$view->name] = $view;

I got it working so it should be ok for you as well!

Let me know if there's anything!

crooke

wisdom’s picture

Would you give some explanation what the most important part of the code does and how to use it. What I understand is just a definition of object variable $view and assignment of a bunch of constants.

rvarkonyi’s picture

Ok, here's how I did it

Create a new view, name it "applications"

Select the role you associated with the applicants

Create a page view and give url "applications", title "My job applications"

The view type can be anything you like, in the code I posted I used full nodes, now I use table view.

Create the fields you would like to be displayed, my fields are Node:Title, Text:Location (CCK field), Decimal:Salary (CCK), Job:Date/Time applied for

Next create filter Job: Applicant User ID, set it Equal to - Currently logged in user

Save it

Create a new menu item where you want, with the url "applications" and associate it with your applicants role.

That should be it!

Let me know if it's working for you!

crooke

NOTE: you can add a Sort criteria - Job: Date / Time applied for, set to Descending, so the latest applications get to the top of the list

kbahey’s picture

Check the new views integration in job search.

There are some pre-defined views included, but due to some issue, they do not show up.

Anyone who knows why this happens, submit a patch, so everyone can see them.

rvarkonyi’s picture

kbahey,

the pre-defined views do not show up that's right, but you can still create them manually, like I did and I'm sure I'm not the only one.

By the way can you please have a look at this thread http://drupal.org/node/218611

Thanks for your help!

kbahey’s picture

Yes, I know you can recreate them manually, but it would be nice if they show up too, so as to save people some time.

I don't have the time to chase this issue down, so hoping someone has the time to pinpoint why this is the case.

For the other issue you link to, I don't have time to implement that, but others are welcome to suggest solutions for it.

xamount’s picture

The missing default views has been fixed. Please see http://drupal.org/node/207625#comment-831443

joemer’s picture

How can I access the new views available for jobsearch do I need to do it with views or they are already available? Thanks

xamount’s picture

Go to the main admin views page and you should see them under the section "default views". They are already created for you, you just need to enable them.

leanazulyoro’s picture

I used crooke's view and it worked. the thing is that that view displays a page, and whata i need is a block, but as weird as it sounds if i check the "provide block" checkbox from the view creation form, the view doesn't return any nodes. so it only work to create a page view. this should be some kind of conflict with views module, any idea why this happens?

wisdom’s picture

Have you checked in admin/build/block section? That is where the created blocks get listed.

leanazulyoro’s picture

yes, of course, the thing is that when i "provide a block" the query doesn't return any nodes, even the page view doesn't show anything.
i mean: i created the view without block, just page, tried it and efectively the page showed the expected nodes, after tha i said: "well, now i need a block which returns the same nodes", so i just edited the view to add a block and ofcourse, positioned it in a region, but the block didn't show anything (infact, it didn't show at all, since it was empty), so i thought: "wtf?", then i went to the page (which previously showed the desired nodes) and was also empty... "hmm... weir", i thought

leanazulyoro’s picture

please try it, and tell me if this is just me, just import crooke's view as it is and try the page view, then add a block to that view, and tell me if the same happens to you (any of you)