Jump to content

Recommended Posts

Posted

Just setting up the Booking System, and have encountered an issue: when I click on the pencil in the corner of a timetable field, absolutely nothing happens. No JS errors are logged in Firebug, just nothing.

 

I have the same lack of response to clicking on different days in the 'Overview Calendar'.

 

Any ideas appreciated!

Posted

You don't need to click in the corner as that is just a label telling you what you can do.

 

Hmm very odd. Does the URL of the page change when you click on Days in the overview Calendar? It should add #dd-mm-yy

Posted

The 'Overview Calendar' thing has been resolved by clearing the browser cache, however the issue with clicking on bookings remains. When I click on a booking, the URL does not change at all. However, if I try to navigate to the link target URL (as in '

https://server/HAP/bookingsystem/#A1-period2') I get: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.

 

Any idea which string is it referring to? I get a feeling this is something borked in the booking system setup files, but we need to know which string is invalid...

 

Thanks for your help so far :)

Posted
It uses javascript to open the booking form, which should be instant, if it's reloading the page, or opening a new tab then something is going wrong. The URL at the top of the page shouldn't change, as HAP+ uses that to know which date to get.
  • Thanks 1
Posted (edited)

Nothing whatsoever logged to the console, all the 'Free' fields have the following CSS class=" booked" (i.e. a class list of null/a space, and then 'booked') - that doesn't look right. When I manually replace it with 'free', I get the CSS animation, but still no event.

 

Adding things to the StaticBookings.xml file (which previously contained nothing) also has no effect on this issue. The static bookings show up, but no other change.

Edited by FishCustard
Posted

I think I might have it - I believe all the rooms are being treated as read-only to all users. I put the name of an Active Directory group ('Staff Users') in the readwriteto= field in hap_config.xml for each room, is that correct?

 

Posted (edited)

Thanks, Nick, I'd just tried removing the Staff Users group (so there's nothing in there at all) and it now works perfectly. Mark this ticket 'closed - PEBKAC'.... :p

 

Now to get SIMS to give me all the room data, not just two lessons for one room... -__-

 

EDIT: Just fixed that too. You might want to mention in the Codeplex documentation that the SIMS RptDef file needs to be edited to reflect your school's IT rooms. E3 for instance here is something completely different! :p For some reason I thought it'd just give me everything.

Edited by FishCustard
Posted
Editing the room is in documentation PDF file. It's been a while since I coded that. I manually put the stuff in, so hard to remember sometimes. Good to hear it's all working now :-)
Posted

Ahh, right okay. I need to remember to RTFM!!

 

Sorry, would you mind clearing something else up, when I try to run the import, I get

User cannot be found from

Parameter name: MainTeacher

 

Is this a problem with my AD connectivity (i.e. it can't connect to AD), or something else. I've tried various name formats, including the username, but get the same error.

Posted
The Notes field is what HAP+ uses to get Mr. N Brown from, for example. Put the staff names, as they match SIMS, into the AD notes fields and it should import correctly.
Posted
None unfortunately, you can try manually entering one in via the admin page, then using the staticBookings.xml file and altering that (which is quicker)

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...