MC1028 Posted May 23, 2015 Report 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
artem Posted January 11, 2019 Report 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
LeonardIGO4036 Posted March 28, 2019 Report 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
fardly83 Posted April 8, 2019 Report 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
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.