chris2 Posted January 1, 2012 Report Share Posted January 1, 2012 Hi, How to i show Schedules on the find Schedules page on days they dont run? So pilots can still fly them on a friday even they are flying it on monday? thanking you chris Quote Link to comment Share on other sites More sharing options...
Jeff Posted January 1, 2012 Report Share Posted January 1, 2012 /* Skip over a route if it's not for this day of week Left this here, so it can be omitted if your VA doesn't use this. Comment out these two lines if you don't want to. */ /* Check if a 7 is being used for Sunday, since PHP thinks 0 is Sunday */ $route->daysofweek = str_replace('7', '0', $route->daysofweek); if(strpos($route->daysofweek, date('w')) === false) continue; /* END DAY OF WEEK CHECK */ This should be in your schedule_results.tpl 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.