Jeff Posted April 5, 2011 Report Share Posted April 5, 2011 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). Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted April 5, 2011 Report Share Posted April 5, 2011 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. Quote Link to comment Share on other sites More sharing options...
Jeff Posted April 5, 2011 Author Report Share Posted April 5, 2011 I'll give this one a shot, thanks Jeff Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.