N2S

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

http://i34.tinypic.com/2affofk.png

edreggi

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.