Jump to content

Schedule Search


Jeff

Recommended Posts

Just a question for you php wizards.

I am trying to find a way to not show all the available flight schedules upon first clicking View Schedules. It's the page that you see when you choose either "By Departure Airport", "By Arrival Airport", "By Aircraft Type" or "By Distance". I just want the Search area to show and not the flights under it until the member actually submits his/her flight search. Is there a way around this? If not, I'll just have to just have it show the Random Flight Search instead (thanks to Lorathon for this one).

Link to comment
Share on other sites

Guest lorathon

I would write your own search module. This is what I did.

1. Create a form for searching (dep/arr/icao/etc....)

2. Send that data to the new module.

3. New module sends the data to the SchedulesData and gets the list returned

4. Module Loads list into template variable and the calls the template

5. Template loops through the list to display the search results.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...