chris.edde Posted August 17, 2011 Report Posted August 17, 2011 Hi there, I couldn't find a topic like this, so I decided to start a new one. I have a very simple problem. When a pilot makes a bid for a flight, the flight usually disappears in the schedule because it is already booked. Lately, this does not happen anymore. When a pilot makes a bid for a flight, the flight is still available for other pilots in the schedules. I know it is a configuration problem. But I wasn't able to find the place (file) where to set the config for this problem. Could you please help me? Best regards, Chris. Quote
Moderators mark1million Posted August 17, 2011 Moderators Report Posted August 17, 2011 HI Chris, The setting is in your local.config.php file in the core directory, if its not in there just copy the lines from the app.config.php to the local file and save. Quote
chris.edde Posted August 18, 2011 Author Report Posted August 18, 2011 I guess it's the # If someone places a bid, whether to disable that or not Config::Set('DISABLE_SCHED_ON_BID', true); Config::Set('DISABLE_BIDS_ON_BID', true); part and that's that I already tried. But it does not work. Quote
chris.edde Posted August 18, 2011 Author Report Posted August 18, 2011 I have a nother clue what caused the problem but again I can't find the section where it was. The problem occurred after I deleted the section, which configurates whether to show all flights or only todays flights. Could this be the solution? And if so, where to place the config? Quote
Guest lorathon Posted August 18, 2011 Report Posted August 18, 2011 Check your template. It must use the setting (DISABLE_SCHED_ON_BID) to skip the schedules. Otherwise the setting is useless. This is in the default template schedules_results.tpl /* This will skip over a schedule if it's been bid on This only runs if the below setting is enabled If you don't want it to skip, then comment out this code below by adding // in front of each line until the END DISABLE SCHEDULE comment below If you do that, and want to show some text when it's been bid on, see the comment below */ if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0) { continue; } /* END DISABLE SCHEDULE ON BID */ Quote
chris.edde Posted August 18, 2011 Author Report Posted August 18, 2011 Thank you very much. I nearly searched every *.tpl file - except for the schedules_results.tpl. 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.