hmmm, I am not sure why some people have trouble with the modules I have. Only thing I can think of is that maybe the download got corrupted when you downloaded it, and thus it is not working the way it should.
I honestly dont know what is going on. The code that is on the github is exactly what I have and mine works fine, it also works for others who have talked to me on skype and here
I am unable to access your events module as I need to be logged in. Try uploading simpilots original file, imy one only has an extra bit of code, which shouldn't hinder the operating of the events module.
hmmm, not sure, this happened with jet2 virtual, they installed it, I even installed it, but it did not work for them. And I do not know why. It is the same code that works for others who say it works for them. Do any errors show up for you?
Any of my friends who spot in Belfast on a regular basis, please contact me ASAP, Michael Price from the BBC is looking for someone to talk to about it
http://forum.phpvms.net/topic/2899-multiple-airlines-search-by-carrier/page__hl__+airline%20+schedule%20+search#entry19207
The code for the module is in there. It works fine my VA uses it.
You are trying to search using a deprecated function. I have it semi working, it gives the data, but it does not give the details of the flights. There is an easier way, there is a module that does this for you. So you do not need to go through this hassle.
I have fixed that problem, and another problem that would have been encountered with the image. If you go to the github for it you can download the updates to it
This is just a mod for Simpilots Events module which is required for this to work.
Demo: http://malaysiava.org/index.php/tourcalendar
download: https://github.com/Strider2/Tcal
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
As some of you have seen in my post in the va section, I have a codeshare module. It at the time did not have an admin side thus I had to add all the codeshares in manually. I have now since created a module, using Simpilots events as a base but edited to add in new codeshare routes. The adding of the codeshares works a dream, it adds the new route into the codeshare table and all. But the main view where you should see the ones currently in the db do not show. And I cant for the life of me work out why. I have switched the way the if else statement looks at it and it just gives me an error, saying an invalid argument supplied for foreach.
<?php
$this->show('codeshare/codeshare_header.tpl');
echo 'Click On Codeshare For Details/Editing<hr />';
echo '<h4>Codeshares</h4><hr />';
if(!$codeshare)
{
echo '<table width="100%">';
echo '<tr><td width="30%"><u>Schedule ID</u></td><td width="60%"><u>Airline</u></td></tr>';
foreach($codeshare as $codeshares)
{
echo '<tr><td><a href="'.SITE_URL.'/admin/index.php/CodeShare_admin/get_codeshare?id='.$codeshares->id.'">'.$codeshares->schedid.'</a></td>';
echo '<td>'.$codeshares->airline.'</td></tr>';
}
echo '</table>';
}
else
{
echo 'No Codeshares found';
}
?>
There is the code from the index page of the module.