Menu

#341 how do i extend the timing from 7-7pm to 11am-11pm

Major
open
None
1
2016-01-15
2016-01-14
Anonymous
No

how do i extend the timing from 7-7pm to 11am-11pm.
On which page and on which line of code is to be changed for this change.Please can you supply the code.
I want to change the timing on both Add entry page and on the calender display
vivek Shukla
India,Mumbai

Discussion

  • Campbell Morrison

    Please read (a) the document INSTALL and (b) the comments in systemdefaults.inc.php and particularly areadefaults.inc.php.

    The booking day can be set from the browser by admins from the "Rooms" page on a per-area basis. The default setting for new areas is a config setting.

     
  • Anonymous

    Anonymous - 2016-01-15

    Still stuck after reading all docs your said.the starttime and end time are not coming in sysnc.Can you please suggest the page in which these changes can be reflected.

     
  • Anonymous

    Anonymous - 2016-01-15

    Sir,on the areadefaults.inc.php i have changed below code

    // The beginning of the first slot of the day (DEFAULT VALUES FOR NEW AREAS)
    $morningstarts = 09; // must be integer in range 0-23
    $morningstarts_minutes = 00; // must be integer in range 0-59

    // The beginning of the last slot of the day (DEFAULT VALUES FOR NEW AREAS)
    $eveningends = 20; // must be integer in range 0-23
    $eveningends_minutes = 30; // must be integer in range 0-59

    But still the calender is not getting update.

    2)The time changes which i want to see in calender view should also get viewed while adding any new entry.
    Start time
    End Time

    should work in accordance with the calender.

    Please help,it urgent to run this tool.Hope if you can provide more details in terms of page and code.

     
  • Campbell Morrison

    The config settings just change the default settings for new areas. For existing areas you can change the settings from the browser. Login to MRBS as an admin, go to the Rooms page, select the area in question, click on the Edit icon and make the changes.

    By the way, you said you changed areadefaults.inc.php code. It is better not to edit areadefaults or systemdefaults. Instead, you should copy the settings you want to change into config.inc.php and edit them there. If you do that it will be easier when you upgrade to the next version of MRBS because you can keep your old config file and won't have to re-apply all your changes.

     
MongoDB Logo MongoDB