miniarma Posted February 14, 2015 Report Share Posted February 14, 2015 Hey guys, Not the best when it comes to this and will need a little help. I am looking to implement something which seems simple, for each schedule I want to be able to add "Airline which operates this route" with the option to add an airline logo. So with this added, on schedule search it will show in the results the airline logo on each individual schedule and also on the briefing page and live flight map. If anyone knows of how to do this or is willing to make it or guide me then that will be helpful. If payment is needed then I will pay you Many thanks & hope I made sense 1 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted February 14, 2015 Administrators Report Share Posted February 14, 2015 Just use the airline code option (screenshot below of an example) to give the flight the correct ICAO code for the airline then create some images that are named the same as the code. ie: UAL.png - AAL.png - etc.. Then in your template you can use something like, <img src="PATHTOMYIMAGE/<?php echo $schedule->code; ?>.png" alt="<?php echo $schedule->code; ?>" /> You will have to adjust the variable to whatever it is declared as in the template you are using. That is how I have done it in the past. 1 Quote Link to comment Share on other sites More sharing options...
miniarma Posted February 14, 2015 Author Report Share Posted February 14, 2015 Oh right ok. Thanks Simpilot, I'll have a mess around now and see what I can do thank you Quote Link to comment Share on other sites More sharing options...
miniarma Posted February 14, 2015 Author Report Share Posted February 14, 2015 It's working great in the schedule briefing I really appreciate your help ! When trying to call the following functions they pull no data <?php echo $airline->name; ?> Quote Link to comment Share on other sites More sharing options...
Industrialshadow Posted August 22, 2016 Report Share Posted August 22, 2016 (edited) Hello thats a good feature. Where can i add all the details. Can anybody help me specially i dont see the airline image. Edited August 22, 2016 by Industrialshadow Quote Link to comment Share on other sites More sharing options...
Industrialshadow Posted August 22, 2016 Report Share Posted August 22, 2016 Hello thats a good feature. Where can i add all the details. Can anybody help me specially i dont see the airline image. its solved 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.