Page 1 of 1

Bookable events in Availability module not working as expected.

Posted: Tue Jun 15, 2010 11:21 am
by SideshowBob
I have recently installed Availability module 1.7.11 in CMSMS 1.7.1 as I am evaluating it for an upcoming project.
This is a very impressive module and I can see that a lot of work has gone into it.

I think I have found a bug or two but wanted to check that I have not overlooked or misunderstood something...

I am creating a room booking system and need to adjust room prices based on date ranges. Rooms are more expensive during Summer months.

I have created an event, set a price adjustment and set 'Rooms can be booked during this event?:' to Yes. I called this event 'High Season'
I think this is the best way to achieve what I want...

When a front end user views the calendar for the summer months, the text 'High Season' is displayed but it is not shown as a link so is no longer bookable from this page (regular 'Vacant' slots are shown as links and are bookable).

Is this expected behaviour?

I notice that is possible to book the high season dates using the 'Create a new reservation' page but this page also allows me to book dates that I have defined as 'Closed' which I would expect to be unbookable.

Can anyone shed some light on these issues?

Thanks,
Bob

Re: Bookable events in Availability module not working as expected.

Posted: Sat Jun 19, 2010 1:41 pm
by SideshowBob
Has no-one seen this issue? It's a real show stopper for me.

Cheers,
Bob

Re: Bookable events in Availability module not working as ex

Posted: Tue Jan 25, 2011 11:56 am
by LCarson
I'm also having problems setting up the Availability module.

~My events also are unclickable in the calendar view.
~On submit I continue to get a message telling me that 'You have not specified anything to reserve!'.
~Should there be any 'Reservation components' visible when creating a new reservation; there are none showing?
~Day report shows events but no available Times (Time is the resource type chosen)

I've placed the advised code into the content of the page: {Availability action="calendar"}

Appreciate any help with this
Regards

Re: Bookable events in Availability module not working as ex

Posted: Tue Mar 22, 2011 8:47 pm
by inyerface
I am usually pretty good at figuring out Calguys' modules but I also have questions on this one. Once I figure it out I will post my results.

M

Re: Bookable events in Availability module not working as ex

Posted: Fri Apr 01, 2011 9:38 am
by rednose
I am working on it too, and had also the problem that the form was going empty again when I hit the check button.
I had in firebug the warning tojson isn't a object.
After a lot of searching I discoverd that with the smarty {JQueryTools action='incjs'} this js wasn't activated:

Code: Select all

<__script__ type="text/javascript" src="modules/JQueryTools/lib/jquery.json-1.3.min.js"></__script>
So I put this code also in the head, and now I can make reservations.

Re: Bookable events in Availability module not working as ex

Posted: Tue Jul 19, 2011 12:34 am
by scelle
@rednose:
THANK YOU!!! I had the same problem, and it was making me CRAZY! :)

Re: Bookable events in Availability module not working as ex

Posted: Tue Jul 26, 2011 12:54 pm
by handcoded
Hi

I have upgraded a CMS MS to 1.9.4.2 and am unable to check reservations or save them as I have a popup which says

YOU HAVE NOT SPECIFIED ANYTHING TO RESERVE


I see that there is a fix but I don't know how to apply it. Which file should I edit to add the javascript ?
I have downloaded jquery.json-2.2.min.js as I did not have the folder structure mentioned above.

Any help would be appreciated.

Re: Bookable events in Availability module not working as ex

Posted: Wed Jul 27, 2011 8:53 am
by rednose
Note: Availibilty 1.7.12 / cms 1.9.4.1
handcoded wrote:YOU HAVE NOT SPECIFIED ANYTHING TO RESERVE
That means you haven't put any object in the backend.
You have four tabs, Calender / Reservation / Resource Type ( depending how you called it in your Settings, p.e. Rooms ) and Events.
It is very important to make under the 3rd (Rooms) 2-3 fields.

I assume you have all the modules downloaded ( such as JQueryTools )
You can put the javascript in your maintemplate in the Head section, but then it's on every site and you probably only need it for this module.
So I put it (edit page) under Options / Page Specific Metadata.

Code: Select all

 
{JQueryTools action='incjs'}
{literal}<__script__ type="text/javascript" src="modules/Availability/lib/php_js.js"></__script>
<__script__ type="text/javascript" src="modules/JQueryTools/lib/jquery.json-1.3.min.js"></__script>{/literal}
I hope it helps.

Re: Bookable events in Availability module not working as ex

Posted: Tue Jul 03, 2012 10:44 pm
by Tablenet
Dear all,

I have the same problem when booking from the admin.
Indeed I got the message "YOU HAVE NOT SPECIFIED ANYTHING TO RESERVE!"

I saw you found a solution but I don't see how to use it for admin tool.

Please help !

Regards
sam

Re: Bookable events in Availability module not working as ex

Posted: Mon Jul 09, 2012 8:15 am
by Tablenet
Dear all,

In fact the issue is coming from the button check which is not working well.

The behaviour is very strange sometimes it works sometimes it doesn't.

Anyway I 'm able to book now but I have to "check" severa times.

Best regards
Sam

Re: Bookable events in Availability module not working as ex

Posted: Mon Jul 09, 2012 9:31 am
by Tablenet
Hello,

I found, it's a problem with button check.
It works by chance...

Regards
Sam