MC1028 Posted May 23, 2015 Report Share Posted May 23, 2015 Hello, I'm looking for the code to show the airline logo on the schedule list when pilots search for it? Does anybody have this code? Regards Quote Link to comment Share on other sites More sharing options...
Mickey Posted September 26, 2018 Report Share Posted September 26, 2018 And luck with this code? Quote Link to comment Share on other sites More sharing options...
artem Posted January 11, 2019 Report Share Posted January 11, 2019 (edited) Go to /lib/skins/*your skin*/schedule_search.php And add this after <div class="row"> (This is for FireCrew3) <p align="center"><img src="location of your logo" width="200px"></p> I know it's a bit messy but it's the easiest way without editing css Edited January 12, 2019 by artem Quote Link to comment Share on other sites More sharing options...
LeonardIGO4036 Posted March 28, 2019 Report Share Posted March 28, 2019 1. Add the logo image (png preferred) of your airline(s) to "/lib/images/airlines/" 2. As mentioned by artem, Go to /lib/skins/*your skin*/schedules_results.php and paste the code inside the "foreach" loop. <?php $logo = SITE_URL."/lib/images/airline/".$route->code.".png"; ?> <img src="<?php echo $logo; ?>" style="height: 70px; width: auto;" /> 3. [IF YOU ARE NOT USING A CUSTOM SKIN] Go to core/templates and find schedules_results.php and do the same as mentioned in step 2. P.S You can adjust the size of the image to your preference. Quote Link to comment Share on other sites More sharing options...
fardly83 Posted April 8, 2019 Report Share Posted April 8, 2019 for me code from Leonard doesnt work. below is my code for fix. Quote <?php $logo = SITE_URL."/lib/images/airline/".$schedule->code.".png"; ?> <img src="<?php echo $logo; ?>" style="height: 70px; width: auto;" /> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.