Topic: "Total Jobs" Counter on Footer
I love statistics, so I thought I would fool around with some of the code and turns out it worked.
JOBBER VERSION: 1.5 beta 1 (20/08/2008)
FILES: page_home.php, index.php, /templates/footer.tpl
OPEN: page_home.php
FIND:
$smarty->assign('jobs_count_all', $job->CountJobs());
REPLACE WITH:
/*$smarty->assign('jobs_count_all', $job->CountJobs()); moved to index.php */
OPEN: index.php
FIND:
$smarty->assign('categories', get_categories());
$smarty->assign('articles', get_articles());
$smarty->assign('cities', get_cities());
AFTER ADD:
$smarty->assign('jobs_count_all', $job->CountJobs()); // total jobs posted on siteOPEN: /_templates/footer.tpl
FIND:
<a href="http://www.jobberbase.com/" title="open source job board software">jobberBase</a>
AFTER ADD:
<br>
<font color="#999999">{$jobs_count_all} jobs posted on our site.</font> <!--total jobs on site-->DEMO:
if you should experience any conflicts, please post.
USE AT YOUR OWN RISK! THIS MODIFICATION IS NOT APPROVED BY THE JOBBERBASE TEAM.
*please delete this once it is approved* (=
