Schedule Search (Airline, Aircraft, Arrival, Departure)

Module creates a schedule search form that includes the ability to choose the airline, aircraft type, arrival field, and departure field. You can choose one or all of the parameters to find what you are looking for in your schedule database.

To install

Download and unzip

Place the files in the proper paths as structured in the download

No new sql tables or anything needed.

Point your browser to mysite/index.php/FrontSchedules and start searching.

Enjoy!

Code hosted on Github - Link In Signature.

This is exactly what I wanted SimPilot, I would like to thank you again for your work. It’s much appreciated

+1 Rep for your effort!

1 Like

Any Demo or anything i want to see what its like first no offence your addons are always quality i just want to see if i would find it helpfull

Any Demo or anything i want to see what its like first no offence your addons are always quality i just want to see if i would find it helpfull

Here is it on my site. I haven’t put it on my index yet.

Demo

I have just finished styling the new page, and it’s working great!

Here’s a link:

http://britair.net/index.php/frontschedules

Nice work styling the search form guys!

Thanks for the kudos

Great form, ty!

Thanks again for a great Module simpilot. It works great and will save my guys a lot of time.

Lloyd

Hi simpilot,

thank you once again for a very nice add-on ;-).

I’d just like to know, if you can add the value daysofweek. Would be some kind of this, wouldn’t it?

<select class="search" name="daysofweek">
                   <option value="">All days</option>
                   <?php
                       foreach ($daysofweek as $days)
                           {echo '<option value="'.$days->name.'">'.$days->name.'</option>';}
                   ?>
               </select>

But this doesn’t work for me. Any possibility to get it work? I guess it’s something in here “$days->name”.

Regards

How are you calling it?

$this->show(‘template’);

or

MainController::Run(‘FrontSchedules’);

I think it sounds like you are calling it through the template function which would miss all the data coming out of the module call.

<?php MainController::Run('FrontSchedules', 'index'); ?>

Can i pay you to code custom modules. Your a damn smart genius. Your like nabeel. you know everything to coding lol.

Just a hobby, but i always am taking requests for new modules. No gaurentees, but the ones that make sense to me usually get done.

On my soon to be released VA, I am going to have a lot of different airlines and this would be perfect to use.

Only question is..where can I get the code/template to install it?? I couldnt find the link.

Could please upload it again or anyone who has it, can they please upload it. Thanks alot.

Could please upload it again or anyone who has it, can they please upload it. Thanks alot.

I re-attached it to the original post in this thread.

Dave,

How could we search for a specific flight number or a group of flight numbers? For example to type 12** and see all flights that have number from 1200 and above? Or type S*** and see all flights starting from S.

Thank you for this great addon but i have faulty on my site, i don have no aircrafts, and it doesnt find me no flights at all…thanks for helping.-..

regards

P.S.

; i got it whats the problem, in your codes there are aircrafts, and in my which is old is equioment so any chance to help me solve and get this right? thanky…

Thank you for this great addon but i have faulty on my site, i don have no aircrafts, and it doesnt find me no flights at all…thanks for helping.-..

regards

P.S.

; i got it whats the problem, in your codes there are aircrafts, and in my which is old is equioment so any chance to help me solve and get this right? thanky…

um… I am not sure what you mean, but if you have no aircraft in the system you can not set up any schedules, and with no schedules, there is nothing to search.

Dave i think he is saying that your search parameters in your module for aircraft are $aircrafts wheras in his i think its the dataclass its defined as $equipment.

I have the same issue (on the obsessblue skins) I think i posted this problem previously.

yes here. i posted the two different templates for comparison.

1 Like

Thanks Alex