Codeshare module V2.3

I am releasing the codeshare module that will show all flights in your schedules that you are codesharing on. You are able to include an image of the airline, to do so you must change the img link in the codeshare.tpl file. change the skin_name to your skin name.

This modules uses a modified simpilots events module admin side.

This update has the following additions:

-ajax controls to the flight number.

You can download the module here

Demo of the front of the module: http://malaysiava.or…x.php/codeshare

Very good! Good Job

Seem to be having a problem getting the schedules listed. Please advise.

any error? Do they show in the admin side?

I have released version 1.2 of the module. It adds the ability to add the flight to your bids directly from the module. You can download it from my github page. https://github.com/Strider2/codeshare

Is there a way to display them in order by airline with out having to input them in order?

https://github.com/Strider2/codeshare

If you replace the class file and the module file, it will order them by airline without having to insert them by airline.

1 Like

https://github.com/Strider2/codeshare

If you replace the class file and the module file, it will order them by airline without having to insert them by airline.

Worked like a charm thanx again Daniel!

Hi,

how can i make the Images from Airline visible ???

when adding the image, it just needs the code of the airline, just put the airline code in, do not add the image type. In the images folder, the image must be named the same as the airline code like BAW for British Airways that should be BAW.png.

thanks works

Need Help Please I don’t understand steep in the readme file

nstructions on how to use this module:

=======================================

  1. Upload the files into their correct locations.

  2. In phpmyadmin import the phpvms_codeshares.sql file into your database where the main phpvms is located.

  3. Insert all codeshare flights into your schedules.

  4. Get the schedid.

  5. Put the schedid into the schedule ID box in the admin panel.

  6. Add the airline ICAO code into the airline box.

  7. To use the images create a folder within your lib/skins/skinname/images folder called logo’s.

  8. Edit the codeshare.tpl file in your core/templates folder.

  9. Images should be 109x39px’s and be named the same as the ICAO code of the airline in the db.

And after howto share with other VA please?

Ex: http://www.skydream-airlines.com/index.php/Codeshare

at the moment it does not take info from another va, so you have to add the flight to your schedules, then add it to the module via the schedid.

Thanks Strider for your module and your answer but I have added Other VA airline in my Airlines List ex: (HEW) but not is normal if one pilot need to register he can see others VA list.

By that way I mean If i want make a code share with others VA the flight number I give need to match with the other VA ICAO.

This may be a stupid question, where do i get the schedid from?

you get it from the schedules database.

ok thanks

I can’t get the airline image to show, just the airline code shows up?

You need to put the link to the image in when you add a codeshare flight to the codeshare database

The airline image is showing in the admin panel but not on the codeshare page?