+ Post New Thread
Results 1 to 4 of 4
Web Development Thread, MRBS save button redirecting to wrong url in Coding and Web Development; Hi, Need help with a problem with MRBS. When adding or editing a booking and then clicking the 'save' button ...
  1. #1

    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    6
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    MRBS save button redirecting to wrong url

    Hi,

    Need help with a problem with MRBS. When adding or editing a booking and then clicking the 'save' button the page is redirected to 'day' view. The default view is 'week'.

    Has anyone encountered this?

  2. #2
    dgsmith's Avatar
    Join Date
    Nov 2007
    Location
    Merseyside, England
    Posts
    1,104
    Thank Post
    118
    Thanked 90 Times in 78 Posts
    Rep Power
    36
    We also get this, and it frustrates our staff, although I haven't quite yet got round to reviewing where in the code this seems to be hard-coded in. If someone else fancies doing that and posting back, then great!

  3. #3

    Join Date
    Sep 2008
    Location
    England
    Posts
    269
    Thank Post
    6
    Thanked 69 Times in 61 Posts
    Rep Power
    51

    fix

    Line 432 in edit_enty_handler.php, change "Location: day.php?..." to "Location: $retval?...". Probably good to update the comment as well while your there...

  4. Thanks to Chris_Cook from:

    stopa003 (23rd September 2008)

  5. #4

    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    6
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks Chris for pointing us to that line! We changed day.php to week.php to get it to work. It was also about line 332 for our version.

    We also wanted to get rid of 'external' and 'internal' booking 'types'. We have added 'permanent' and 'normal' for types of bookings in config.php, however in the comments it mentions to leave 'external' or 'E' and 'internal' or 'I' for compatibility issues.

    We have just commented out 'E' and 'I' and added 'permanent' and 'normal'. Anyone know if that will cause any 'computability' issues?

    Seems to work ok, so far.

SHARE:
+ Post New Thread

Similar Threads

  1. MRBS Help
    By mickeyh080 in forum Network and Classroom Management
    Replies: 4
    Last Post: 21st June 2008, 04:05 PM
  2. MRBS Help
    By Scotmk in forum Wireless Networks
    Replies: 5
    Last Post: 27th March 2008, 08:34 AM
  3. MRBS Help!
    By adamf in forum Network and Classroom Management
    Replies: 1
    Last Post: 22nd April 2007, 09:48 PM
  4. Redirecting applications save folder
    By Wizzer in forum How do you do....it?
    Replies: 14
    Last Post: 22nd November 2006, 12:46 PM
  5. MRBS
    By j17sparky in forum Web Development
    Replies: 6
    Last Post: 17th November 2006, 03:11 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •