×

Notice

The forum is in read only mode.

Display logo on job_searchresults & listnewestj

13 years 3 weeks ago #1901 by jp
Hi,
I'd like to add the company's logo on these following pages
  • job_searchresults.php
  • listnewestj.php

I suppose i've to add ", company.logoisfile AS logoisfile, company.logofilename AS logofilename" somewhere in jsjobs.php, do i??

tks for your support

JP
13 years 2 weeks ago #1905 by jp
no idea for that question??
13 years 1 week ago #1911 by Super User
Hi,

You need to edit files and add company logo code.
job_searchresults.php
listnewestj.php

i.e
<img src="images/logo_file_path" />

Best regards,

Ahmad Bilal
12 years 7 months ago #2244 by jp
Hi,

I've another issue to display companies logo into list_jobs.php

i'm actually using this code:
<div>
<?php if ($this->job->logoisfile !=-1) { ?>	
	<img width="150" src="<?php echo $this->config['data_directory'];?>/data/employer/comp_<?php echo $job->companyid;?>/logo/<?php echo $job->logofilename;?>" />
<?php }else { ?>
<img width="150" height="54" src="components/com_jsjobs/images/blank_logo.png" />
<?php } ?>
</div>
Nothing appears as logo although si i'm using Firebug for Firefox, it recognizes this following code
<img width="150" src="/jsjobsdata/data/employer/comp_5/logo/">
which means, only logofilename is unknown.
I've tried many things to find a solution such as swap $job by $app or $this->job but nothing works :(

Any idea for that??

Thanks again

JP
12 years 7 months ago #2245 by Super User
Hi,

You need to edit module class functions.
../models/jsjobs.php

function &getListNewestJobs

Add ', company.logofilename' after 'company.url'

Same changes in function &getJobSearch

Best regards,

Ahmad Bilal
12 years 7 months ago #2253 by jp
Thanks again

it worked well ;)
Time to create page: 0.062 seconds

Please publish modules in offcanvas position.