Jump to content

Recommended Posts

Posted

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?

Posted

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?

Posted

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).

Posted

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.

  • Like 1

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...