CrashGordon Posted July 17, 2009 Report Share Posted July 17, 2009 I need some ideas for the simplest way to disolay rosters, hubs, fleet and routes on our site. As administrator, I can see all these things, but to diisplay the information on the site, I need to do something that someone who is no a php proficient person can cobble together. Any suggestions. or have I missed something really obvious? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 20, 2009 Administrators Report Share Posted July 20, 2009 Just link to the vms pages which show it? Or what exactly are you trying to do Quote Link to comment Share on other sites More sharing options...
CrashGordon Posted July 20, 2009 Author Report Share Posted July 20, 2009 I was thinking of a page that would always display routes...for public consumption just the route number, airports and aircraft, possibly in some type of timetable format. It isn't a must have, right now. I'm still trying to get data entered. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 20, 2009 Administrators Report Share Posted July 20, 2009 The default schedule page isn't what you're looking for? http://www.phpvms.net/test/index.php/schedules Quote Link to comment Share on other sites More sharing options...
CrashGordon Posted July 20, 2009 Author Report Share Posted July 20, 2009 Except that it takes 4 or 5 lines for what can be done in one. The story of my life can be seen in the fact that I bought a wide screen monitor, just at the time everyone started producing web sites that only use the center third of the space available. ;D Oh dear, I might get yelled at for this one, but I find something very curious. Humans generally look for things in alphabetical order, but that list appears to be in reverse alpha-order. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 21, 2009 Administrators Report Share Posted July 21, 2009 It's sorted by flight number But you can customize that view by modifying the template (schedule_results.tpl), and compress it down to one line. Every view is a template, which is 90% HTML that you can customize however you like There's some video tutorials which explain everything, spend an hour or so with it, it should be pretty familiar at the end of that and the tutorials And hey, that happens to me too. I am working on the vaCentral site, and it's annoying how I can't use the entire width.. well, one day Quote Link to comment Share on other sites More sharing options...
CrashGordon Posted July 21, 2009 Author Report Share Posted July 21, 2009 I've looked at some and will do more, today. This is the default sort on my site. OMG1(UUDD - UKKK) Departure: 08:30 UTC Arrival: 10:00 UTC Equipment: AN-225 (OMG225) Distance: 464.386mi Days Flown: Su M T W R F S Notes: Test route. View Details Pilot Brief Add to Bid OMG12(TJSJ - KMIA) Departure: 13:00 EST Arrival: 15:45 EST Equipment: B732-200C (OMG732) Distance: 1044.24mi Days Flown: Su M T W R F S View Details Pilot Brief Add to Bid OMG7(OLBA - LGRD) Departure: 13:00 UTC Arrival: 14:45 UTC Equipment: C-130E (OMG130) Distance: 452.924mi Days Flown: Su M T W R F S View Details Pilot Brief Add to Bid OMG6(LGRD - OLBA) Departure: 09:00 UTC Arrival: 10:45 UTC Equipment: C-130E (OMG130) Distance: 452.924mi Days Flown: Su M T W R F S View Details Pilot Brief Add to Bid OMG4(LGRD - LATI) Departure: 10:00 UTC Arrival: 12:00 UTC Equipment: C-130E (OMG130) Distance: 568.808mi Days Flown: Su M T W R F S View Details Pilot Brief Add to Bid OMG5(LATI - LGRD) Departure: 14:00UTC Arrival: 16:00 UTC Equipment: C-130E (OMG130) Distance: 568.808mi Days Flown: Su M T W R F S View Details Pilot Brief Add to Bid OMG11(KMIA - TJSJ) Departure: 07:00 EST Arrival: 09:45 Equipment: B732-200C (OMG732) Distance: 1044.24mi Days Flown: Su M T W R F S View Details Pilot Brief Add to Bid OMG10(KMIA - KDEN) Departure: 19:00 UTC Arrival: 22:30 UTC Equipment: B747-200 (OMG742) Distance: 1704.09mi Days Flown: Su M T W R F S View Details Pilot Brief Add to Bid OMG8(KLAX - KVNY) Departure: 10:00 PST Arrival: 10:30 PST Equipment: C172 (OMG172) Distance: 19.0452mi Days Flown: Su M T W R F S Notes: Test flight. View Details Pilot Brief Add to Bid OMG9(KDEN - KMIA) Departure: 12:00 UTC Arrival: 15:30 UTC Equipment: B747-200 (OMG742) Distance: 1704.09mi Days Flown: Su M T W R F S As you can see, it isn't by flight number, but is reverse alpha on departure airport. I didn't modify anything. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 23, 2009 Administrators Report Share Posted July 23, 2009 Just checked the code, there's no sort order. So I guess you entered them into the database that way Quote Link to comment Share on other sites More sharing options...
CrashGordon Posted July 23, 2009 Author Report Share Posted July 23, 2009 Almost, but there are a couple not in that order. If you decide to sort them, my vote is for sorting on ICAO code. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 25, 2009 Administrators Report Share Posted July 25, 2009 which icao? Quote Link to comment Share on other sites More sharing options...
CrashGordon Posted July 26, 2009 Author Report Share Posted July 26, 2009 Logically, I think departure ICAO. 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.