Views integration for job and resume
timmadden - January 8, 2008 - 12:06
| Project: | Job Search |
| Version: | 5.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I would love a way for a job seeker to view all the jobs that they have applied for.
Would be good to do it with views, like node type = job and currently logged in user 'touched' node but that seems to be only include comments and authored, but if there was a way to get the 'touch' criteria to include applications, that would be handy.
cheers
tim

#1
Actually, it is more than that.
Proper views integration can do a lot for these two modules, such as:
- List of jobs applied for by the logged in user.
- List of jobs applied for by any user.
- My resumes.
- Jobs that I posted
- Jobs that I posted and someone applied for.
If someone wants to contribute a patch, please do so.
#2
This would be great, I am already using views to achieve two of these, but it would be great to have all of these options available.
- My resumes.
My Resumes already is doable because you can pull the node type "resume" and the node author "currently logged in user"
- Jobs that I posted
This is also doable by node type "job" and the node author "currently logged in user"
#3
Great comment.
So here is the revised list
- List of jobs applied for by the logged in user.
- List of jobs applied for by any user.
- Jobs that I posted and someone applied for.
#4
All the above has been implemented.
The module also has some default views, but for some reason they do not show up.
They can be copied and pasted into the views import feature, and they will work fine.
Leaving this as "code needs work" until the default views are fixed. Can someone take a look as to why they don't?
#5
I fixed this error. It was a simple return statement that was missing in the function that creates the default views.
Just add
return $views;as the last line in the function job_views_default_views() {..}
I have attached the patch. Also if you apply this patch and the default views still don't show up you will need to clear the views cache by going to:
admin/build/views/tools
Great module by the way.
#6
Thank you.
#7
Automatically closed -- issue fixed for two weeks with no activity.
#8
Hi I'm new and doing a project using the jobsearch module. How do you use or call those new views? Thanks.
#9
You have to have the Views module enabled. Once you do that, look in the default views section on admin/build/views and you'll see the default views provided by the jobsearch module.
#10
Thanks I already check it but I can't see them. I did clear the view cache. How do I apply the patch/fix maybe it could help. Thanks
#11
For a quick fix just do as I said in my previous comment:
That should do the trick.
#12
Thanks