HighFlyerPL185 Posted January 7, 2013 Report Posted January 7, 2013 Hi there, I am currently running phpVMS with six routes/schedules added that are all enabled, but only three show up in the schedule results, when I specify the search criteria as "All" on the fields. The bizarre thing, is that I created an echo to tell me how much schedules there actually are being displayed with the specified search criteria, and it returns the magic number of 6. Any ideas? Quote
Moderators Parkho Posted January 7, 2013 Moderators Report Posted January 7, 2013 Make sure you have set days of week for the other 3 routes. Quote
HighFlyerPL185 Posted January 7, 2013 Author Report Posted January 7, 2013 They are set. I've actually noticed now, that the ones with everyday selected are displaying, and the ones with for example Su W S don't. Odd. Quote
Moderators Parkho Posted January 7, 2013 Moderators Report Posted January 7, 2013 That's why you don't see all of them. You have to set all for every day in order for them to show. 1 Quote
HighFlyerPL185 Posted January 7, 2013 Author Report Posted January 7, 2013 That's why you don't see all of them. You have to set all for every day in order for them to show. Really? Wow, that's unreasonable and a bit awkward. What do I do if I want the flight to fly only on selected days like Monday and Saturday but still be displayed on the search result page? Quote
Moderators Parkho Posted January 7, 2013 Moderators Report Posted January 7, 2013 It's not doable unless you rewrite the codes in schedule_results.tpl to your need. Quote
mseiwald Posted January 7, 2013 Report Posted January 7, 2013 When you have a flight scheduled to operate only on Sunday it will only show up in your schedule on sunday. I think that makes perfectly sense. Quote
HighFlyerPL185 Posted January 7, 2013 Author Report Posted January 7, 2013 When you have a flight scheduled to operate only on Sunday it will only show up in your schedule on sunday. I think that makes perfectly sense. Oh, right. Yeah, it does make sense actually, disregard my previous post. I thought they don't show up at all, and only the ones with all days ticked do, which would lack any sense. How can I enable them to show regardless of the days selected? Basically, if the search criteria for Departure and Arrival Airports says "All", it will show all the routes, regardless of the days they fly on (i.e. no flight on Monday, but schedule still shows). Quote
mseiwald Posted January 7, 2013 Report Posted January 7, 2013 open your schedule_results.tpl and comment out the part with the day of week check...it`s somewhere on the top where it says continue if the flight is not scheduled for the current weekday comment out that part of the code and it should display all flights. 1 Quote
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.