+ Post New Thread
Results 1 to 7 of 7
Home Access Plus+ Thread, HAP booking system cuts off last period & Changing week names in Projects:; Hi 1. I am setting up HAP and have noticed that in the booking system the last period stretches the ...
  1. #1

    Join Date
    May 2011
    Location
    United Kingdom
    Posts
    562
    Thank Post
    135
    Thanked 21 Times in 20 Posts
    Rep Power
    12

    HAP booking system cuts off last period & Changing week names

    Hi


    1. I am setting up HAP and have noticed that in the booking system the last period stretches the screen over to the right so to see the whole period you have to scroll the screen over. Is there any way to avoid this?

    2. Also can you change at the top left where it says 'week 1' or week 2' to something different like 'blue week' and 'red week'?

    3. Is it possible to set it up so all the classrooms appear on one screen and Laptops on another screen. Just looks quite daunting with all our rooms and laptop trolleys in one go.

    HAP booking system cuts off last period & Changing week names-hap.png

    Cheers
    Last edited by tj2419; 11th July 2013 at 04:23 PM. Reason: More information

  2. #2

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,691
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    1. That is by design, to change the width edit ~/bookingsystem/default.aspx, look at the top of the page and edit the 200 value
    2. Yes, see Booking System: Split Resources
    3. Yes, Edit the link to either ~/bookingsystem/t-Room/ or ~/bookingsystem/t-Laptops/

  3. #3

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,691
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Line 69:
    HTML Code:
    <div class="body"<%=BodyCode[0] %> style="min-width: <%=(200 * (config.BookingSystem.Lessons.Count + 1)) + 2 %>px">
    Change the 200 to something else

  4. #4

    Join Date
    May 2011
    Location
    United Kingdom
    Posts
    562
    Thank Post
    135
    Thanked 21 Times in 20 Posts
    Rep Power
    12
    Hi Nick,

    Thanks for the info. Points 1 and 3 sorted. Struggling to get point 2 to automatically change for some reason when i changed the code it now just says lilac week every week :S

    Code:
    ("This week is " + data[1] == 1 ? "Gold Week" : "Lilac Week");
    Also having an issue where i set the rooms to enabled then save it. When i go back into them they say disabled again so not all the rooms show us as bookable. The names show up but not the period to click on for them to be booked :S

  5. #5

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,691
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Can you post your HAPConfig.xml file (the booking system section) please

  6. #6

    Join Date
    May 2011
    Location
    United Kingdom
    Posts
    562
    Thank Post
    135
    Thanked 21 Times in 20 Posts
    Rep Power
    12
    Code:
    <bookingsystem maxbookingsperweek="15" maxdays="31" admins="" keepxmlclean="True" twoweektimetable="True" enablemultilesson="false" maxmultilesson="0">
        <resources>
          <resource name="T21" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="25" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="T22" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="T25" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="T27" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="T32" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="S15" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="Red Trolley" type="Laptops" admins="Inherit" enabled="True" emailadmins="True" enablecharging="True" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="16" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="S19 (Green Trolley)" type="Laptops" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="Blue Trolley" type="Laptops" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="Yellow Trolley" type="Laptops" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="Orange Trolley" type="Laptops" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="" />
          <resource name="iPad Trolley (Green)" type="Laptops" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="undefined" />
          <resource name="iPad Trolley (Purple)" type="Laptops" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="undefined" />
          <resource name="iPad Trolley (White)" type="Laptops" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Teaching Staff, Non-teaching Staff" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="" disclaimer="undefined" />
        </resources>
        <lessons>
          <lesson name="AM Reg" type="Lesson" starttime="08:40" endtime="09:00" />
          <lesson name="Period 1" type="Lesson" starttime="09:00" endtime="10:00" />
          <lesson name="Period 2" type="Lesson" starttime="10:00" endtime="11:00" />
          <lesson name="Period 3" type="Lesson" starttime="11:15" endtime="12:15" />
          <lesson name="Period 4" type="Lesson" starttime="13:05" endtime="14:05" />
          <lesson name="Period 5" type="Lesson" starttime="14:05" endtime="15:05" />
        </lessons>
        <subjects>
          <subject name="General" />
          <subject name="ICT" />
          <subject name="English" />
          <subject name="Maths" />
          <subject name="Science" />
        </subjects>
      </bookingsystem>
    Here it is. Thanks for your help.

  7. #7

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,691
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Ok, the rooms are showing as being enabled in the HAPConfig, can you do some HAP+ JSON Debugging to find out if there's a JSON request going out for those resources please

    For the other can you confirm this code

    Code:
                        if (user.isBSAdmin) $("#val").html("This week is " + (data[1] == 1 ? "Gold Week" : "Lilac Week"));
                        else {
                            if (data[0] >= 0 ) {
                                $("#val").html("You have " + data[0] + " bookings available to use this week. This Week is a Week " + (data[1] == 1 ? "Gold Week" : "Lilac Week"));
                            } else {
                                $("#val").html("This week is " + (data[1] == 1 ? "Gold Week" : "Lilac Week"));
                            }
                            availbookings = data;
                        }



SHARE:
+ Post New Thread

Similar Threads

  1. HAP Booking System - New to setting up
    By timbo343 in forum Home Access Plus+
    Replies: 12
    Last Post: 23rd May 2013, 03:55 PM
  2. Change the HAP booking system drop down lists
    By mmeoli in forum Home Access Plus+
    Replies: 4
    Last Post: 17th April 2013, 09:40 AM
  3. Devizes Room Booking System - changing the order of Periods
    By EL_S in forum Network and Classroom Management
    Replies: 2
    Last Post: 12th March 2013, 06:17 PM
  4. HAP+ booking system sizing issue
    By jamesgriffiths in forum Home Access Plus+
    Replies: 6
    Last Post: 21st May 2012, 04:47 PM
  5. Devizes Booking System - Adding Periods
    By WithoutMotive in forum Network and Classroom Management
    Replies: 2
    Last Post: 19th November 2007, 05:18 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
  •