Topic: ADD payscale salary research in job listings
payscale salary allows user to search for salaries being given for a particular post.......without leaving your site...
see it in action:
http://www.final.earnstop.com/job/11/ni
temp-name/(below date click research salary if nothing show up then its because that job doesn't have valid description)
http://www.payscale.com/syndication/joblistings.aspx
how to add?
just go to this page
http://www.payscale.com/syndication/joblistings.aspx
add this javascript in header.tpl
<script type="text/javascript" src="http://www.payscale.com/js/psextension.js"></script>
<script type="text/javascript">
PayScaleExtension.affiliateId='';
PayScaleExtension.ServiceURL='http://www.payscale.com';
PayScaleExtension.jobListing = false;
PayScaleExtension.backgroundColor = '#9a0000';
PayScaleExtension.textColor = '#ffffff';
PayScaleExtension.init();
</script>
and this code in job.tpl or job-details.tpl depending on the location where you want to place it
<a href="http://www.payscale.com"
title="Research Salary at PayScale"
onclick="javascript:PayScaleExtension.displaySalaryCalculator('Registered Nurse (RN)', 'Seattle', 'Washington', 'United States');return false;">
<img src="http://www.payscale.com/images/research_salary_bug.gif" alt="PayScale" width="109" height="23" border="0" /></a>
and replace above string with their respective php code:
for example i use this code in my installation:
<a href="http://www.payscale.com"
title="Research Salary at PayScale"
onclick="javascript:PayScaleExtension.displaySalaryCalculator('{$job.title}', '', '', 'India');return false;">
Research salary</a>
if u need any help do let me know...
Last edited by raghav1211itched (2009-03-04 10:55:48)