- Title: Member
- Status: Offline
- From: Music Land
- Registered: 2008-10-27
- Posts: 64
Topic: Change Default Number of "Recent Jobs"
the default number is currently only 7 (seven). To change this you would have to do the following..
FILES: page_home.php
JOBBER VERSION: 1.5 beta 1 (20/08/2008)
Code:
FIND:
$smarty->assign('latest_jobs', $job->GetJobs(0, 0, 7, 0, 0));
REPLACE:
$smarty->assign('latest_jobs', $job->GetJobs(0, 0, 11, 0, 0)); // 11 "recent jobs" will now show
you can change the value "11" to any value you desire.
*thanks to links
- Title: Member
- Status: Offline
- Registered: 2008-12-31
- Posts: 27
Re: Change Default Number of "Recent Jobs"
Just a note for later versions of JB.
The code to change Most applied or Recent jobs is found still in page_home.php
Code: define('NUMBER_OF_MOST_APPLIED_TO_JOBS_TO_GET', 7);
define('NUMBER_OF_LATEST_JOBS_TO_GET', 7);
Change the number 7 in these lines.
The spotlight value is found
Code: $smarty->assign('spotlight_jobs', $job->GetJobs(0, 0, 3, 1, 0, 0, 0, 0, 1));
Change the number 3.
Posts [ 2 ]
Guest posting is disabled. You must login or register to post a reply.