Route Operator

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

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.

post-198-0-09404900-1423948155.png

1 Like

Oh right ok. Thanks Simpilot, I’ll have a mess around now and see what I can do thank you

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; ?>

Hello thats a good feature.

Where can i add all the details. Can anybody help me specially i dont see the airline image.

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