×

Notice

The forum is in read only mode.

Display logo on "view_job"

13 years 5 months ago - 13 years 5 months ago #1473 by Paige
I have made some changes to the php files and everything has worked out great, except I can't get the business logo to appear in the "view_job.php". I have copied the code EXACTLY from "view_company.php" and pasted it into the desired area of "view_job.php" but I get a blank box.
I have attached a picture of where I am trying to place the logo (in view_job.php) and how it appears in the view_company.php and is working properly.
I feel as if I possibly need to change something in the code though to make it register correctly in a different php file.

I'm a little new to php but get the gist of it. Any suggestions or ideas will help. Ask if you have questions.

THANKS! :cheer:
13 years 5 months ago #1475 by Ahmad
Replied by Ahmad on topic Display logo on "view_job"
Please edit sql for view_job and add company.logofilename.

If you working on live server you may email me FTP information to check it.

Please write your valuable review JS Jobs and JS Support Ticket at JED.
13 years 5 months ago #1502 by Paige
Replied by Paige on topic Display logo on "view_job"
what is the best way to contact you?
13 years 1 month ago #1614 by jp
Replied by jp on topic Display logo on "view_job"
Hi Paige,

Did you success to display the logo in view_job.php?

I encounter the same prob

Tks to let me know
13 years 1 month ago #1615 by jp
Replied by jp on topic Display logo on "view_job"
Hi,

As i've not found the way to display the logo in job_searchresult and view_job, i need some help :(

I've the last version 1.0.6.2, i'd like to display the logo in job_searchresult and view_job and the company description in view job.

Tks for your help

JP
13 years 1 month ago #1634 by Ahmad
Replied by Ahmad on topic Display logo on "view_job"
Hi,

Company logo only show in company page, if you want to show logo in view job layout.
You need to edit php file and add this code
<div style="max-width: 200px;">
                                                  <?php if ($this->job->logoisfile !=-1) { ?>
                                                                <img width="200"  src="<?php echo $this->config['data_directory'];?>/data/employer/comp_<?php echo $this->company->id;?>/logo/<?php echo $this->job->logofilename;?>" />
                                                  <?php }else { ?>
                                                                <img width="200" height="54" src="components/com_jsjobs/images/blank_logo.png" />
                                                  <?php } ?>
                                            </div>

Also need to edit model class (function getJobbyId)
add this line in query.
, company.logoisfile, company.logofilename

Please write your valuable review JS Jobs and JS Support Ticket at JED.
Time to create page: 0.057 seconds

Please publish modules in offcanvas position.