Jump to content

Recommended Posts

Posted

Nope there isn't sorry. If you want to, and you know javascript, you can create one.

 

See ExampleCustomTile.js in the hap+ release, just include that on in the head of the homepage

  • 2 weeks later...
Posted

Hi Nick , I am currently having an issue where users cannot book anything. they are told they have exceeded the max bookings per week. I have set this to 9999999 so I don't think they would have.

 

Any ideas ?

 

Thanks

Posted

Hi is this what you mean @lholland421.

 

Screen Shot 2014-09-17 at 10.01.57.png

 

I have created three tiles and changed the icons in the hap config and set the hyperlinks to go to the following

 

Rooms - ~/bookingsystem/t-Room

Laptops - ~/bookingsystem/t-Laptops

iPads - ~/bookingsystem/t-Other

Posted

1. Go to your Hap +Config

2. Select the Homepage Tab

3. Click Add Link and fill in like the images below. (For the show to put the groups you want to show it to. Mine just show admin as i haven't yet launched it with staff)

 

Screen Shot 2014-09-17 at 11.52.50.pngScreen Shot 2014-09-17 at 11.52.56.pngScreen Shot 2014-09-17 at 11.53.03.png

 

Then when adding rooms or resources to your room booking (Booking system tab) make sure you match up the Resource Type to IT Rooms = Room, Laptops = Laptops and iPads = Other.

 

Voila :p

  • Thanks 1
Posted

Ok, there is something wrong with your setup

 

In a browser go to

/hap/api/BookingSystem/Initial/17-9-2014/{username}

 

Obviously replace {username} with your username

Posted

ok, that's what it should be. 0 is the number of bookings and 1 is the week number.

 

Can you look at the source code for the page (browser source not notepad edit), look for something like this

 

      <br />
        user = { username: 'Nick', isAdminOf: [ 'ICT1', 'ICT2', 'E3', 'A6', 'Laptops', 'iPads', 'S6', 'LRC' ], isBSAdmin: true, minDate: new Date(2014, 8, 17), maxDate: new Date(2015, 6, 20), maxBookings: -1 };<br />
    

 

What you are looking for is the last thing, maxBookings, what does that say for the user? If it doesn't say -1, or the silly high number then something isn't getting set somewhere

Posted
not really, something is causing the function that checks the current bookings against max bookings to error. I cannot replicate that on any of my installs.
Posted
You can try reinstalling the booking system from the latest plugin release. If you do give me a username and password I can at least see what in the javascript it is playing up I suppose. Can't promise when I'll look at it today as I've got some primary school visits to do

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...