Default script appearing on your jobberbase site widget script code will show this
[php]
<script src="http://localhost/jobber/api/api.php?action=getJobs
&type=0&category=0&count=5&random=1&days_behind=7&response=js" type="text/javascript"></script>
<script type="text/javascript">showJobs(‘jobber-container’, ‘jobber-list’);</script>
[/php]
What you need to do is to fix “localhost” to change to your website domain name.
Go to your “Api” folder —->edit api.php
Add the line define BASE URL…. as shown below
for eg: my website is http://www.roundcollar.com
[php]
<?php
require_once ‘../_config/config.php’;
define(‘BASE_URL’,’http://www.roundcollar.com/’);
define(‘JOBBER_URL’,str_replace(‘api/’,”,BASE_URL));
escape($_GET);
switch($action)
{
[/php]