Closed (fixed)
Project:
Job Search
Version:
5.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2008 at 12:06 UTC
Updated:
8 Jul 2008 at 06:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
kbahey commentedActually, 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.
Comment #2
timmadden commentedThis 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"
Comment #3
kbahey commentedGreat 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.
Comment #4
kbahey commentedAll 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?
Comment #5
xamountI 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.
Comment #6
kbahey commentedThank you.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
joemer commentedHi I'm new and doing a project using the jobsearch module. How do you use or call those new views? Thanks.
Comment #9
xamountYou 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.
Comment #10
joemer commentedThanks 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
Comment #11
xamountFor a quick fix just do as I said in my previous comment:
That should do the trick.
Comment #12
joemer commentedThanks