I am trying to use Drupal to set up a job board, similar to Monster and Seek. I am aware that there is a ready Job Board Module, but for the purposes for extensibility in the future, I was advised to set up as much as possible using CCK and Views. This is what I've done so far:
First, I created the following custom content types using CCK: Job, Job Application
Problem 1: In Job Board module, users can click on apply and directly fill out a Job application. So, I need a way whereby a person a click on the apply button and a new 'Job Application' node creation form appears. The easy way to do this is to link to node/create for Job Application. But, how do I associate all those Job application nodes with that Job?
Attempt 1: I added a node referrer field in the Job application content type. But then, I didn't know how to automatically fill it up with the URL of the referring node (i.e. the Job node where the applicant clicked the apply button). Also, I need a way such that only the person who created that Job node (i.e. recruiter) can view the Job applications that have that Job node in their node referrer field.
Then, I gave up and went about the whole thing another way. The easiest way to associate a node with another is to use the comments system, which is there in core. Comments are automatically associated with a particular node. But comments don't allow file attachments, plus they can't be extended by CCK. So, I used the node comments module to turn all my comments for the Job content type into full nodes.
Problem 2: Now, I am able to set it up so that Job application nodes are comments to Job nodes. But, I need a way so for Job Nodes only, only the node author can see the comments for that node.
No idea how to solve problem 2. Any ideas or help appreciated. Maybe even if there was a better way of going about the whole thing.
Comments
Solution 1: have a look at
Solution 1: have a look at Prepopulate ... users will be able to create Job Applications that have the Job node reference already filled in.
I'm drawing a blank on your second problem.
Thanks
Thanks, didn't know about pre-populate module. That solves half the problem. It still leaves another problem though, how do I ensure that only the node author can view job applications that have that node URL in the referrer? In functionality terms, only the person advertising the job should be able to see the applications he/she received.
Current Solution
I am currently trying the Job Search module. The 6x version is only in development, but it seems to work alright so far, so I am most likely going with that as a solution. If that fails, I will resort to using Job Posting module as a fallback. Job Posting allows the addition of CCK type fields, as does Job Search. However, there is no way to remove the fields that already come with the Job posting content type when the module is enabled.
my path to apply for a job directly from avaialble positions
following instruction from chapter 3 of USING DRUPAL book of oreilly
J create two contents type :
Job - with fields
• Job title
• Department
• Description
• Salary
Job application with fields
• Title
• Job
• Introductory message
• Résumé
I created two views:
jobs - a list of available positions
applications - a list of applications
But how, as proposed in taking it further at the end of chapter in the book,
add a link for users to apply for a job directly from the job post itself, so users did not need
to select it from a drop-down box from the application form
or better
add a link for users to apply for a job directly from the avaialable position list , so users did not need to select it from a drop-down box from the application form
I used prepopulated module but to have the correct url so job application title and job (a select list)
come prepopulated was not easy.
We need add a link in every row of view list of jobs (available positions) with a url similar to this one:
node/add/application?edit[title]=My application for the available job&edit[field_job][nid][nid]=6
the 6 is nid (node identification) of listed row from where we linked (note also the special field_name that comes from CCK Select list widget for job).
Problem arise from [ ] (open close bracket) used in link creation for field_name and for replacement.
i solved in this way - for field name I used %5B %5D and for replacement I used [ ]:
added a field (invisible) in jobs view
add as last a field (our link) who create the url
Hope my sweat can help as general rule to add (with a link) from list of node (view) a new related node with content prepopulated.
Gianni.
Job Board
Hi, we have a job board created in drupal (5.0 version). But having major problems because we are not drupal programmers and dont know how to upgrade or maintain it without losing data. Can anyone help.
www.communityoutreach.ca