Browsing this Thread:   1 Anonymous Users

Jobs 3.0 RC3 resume search hack

See User information
I am a little surprized that no one asked how to do this, but here it is.

For Xoops

Go to the file Xoops Root kernel/module.php around line 220 and find this line:

function search($term = '', $andor = 'AND', $limit = 0, $offset = 0, $userid = 0)

change it to this:

function search($term = '', $andor = 'AND', $limit = 0, $offset = 0, $userid = 0, $is_resume = 0)

then go to about line 236 and find this line:

return $func($term, $andor, $limit, $offset, $userid);

change it to this:

return $func($term, $andor, $limit, $offset, $userid, $is_resume);

That should do it, the other changes are already in Jobs 3.0 RC3
Now the search will work from the resume index page, but they will not be in the site search.

Other versions of Xoops you could make the same changes, but I am not sure if the line numbers are the same. All changes are in the function 'function search'.



Posted on: 2008/4/26 8:00
Twitter Facebook Google Plus Linkedin Digg Reddit Mr. Wong Top

You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]



Remember me

Lost Password?

Register now!
Main Menu
Who's Online
6 user(s) are online (6 user(s) are browsing Forum)

Members: 0
Guests: 6

Make donations with PayPal!
Goal: $25.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $25.00