Bookable events in Availability module not working as expected.

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am
Location: Bristol, UK

Bookable events in Availability module not working as expected.

Post 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
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am
Location: Bristol, UK

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

Post by SideshowBob »

Has no-one seen this issue? It's a real show stopper for me.

Cheers,
Bob
LCarson

Re: Bookable events in Availability module not working as ex

Post 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
inyerface
Forum Members
Forum Members
Posts: 191
Joined: Mon Nov 26, 2007 4:46 pm

Re: Bookable events in Availability module not working as ex

Post 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
rednose
Forum Members
Forum Members
Posts: 18
Joined: Fri Jun 26, 2009 3:04 pm

Re: Bookable events in Availability module not working as ex

Post 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.
scelle
Forum Members
Forum Members
Posts: 81
Joined: Sun Apr 24, 2011 8:14 pm
Location: Montenegro

Re: Bookable events in Availability module not working as ex

Post by scelle »

@rednose:
THANK YOU!!! I had the same problem, and it was making me CRAZY! :)
handcoded
Forum Members
Forum Members
Posts: 123
Joined: Thu Dec 06, 2007 2:26 pm

Re: Bookable events in Availability module not working as ex

Post 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.
rednose
Forum Members
Forum Members
Posts: 18
Joined: Fri Jun 26, 2009 3:04 pm

Re: Bookable events in Availability module not working as ex

Post 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.
Tablenet
New Member
New Member
Posts: 5
Joined: Sat Dec 03, 2011 1:31 pm

Re: Bookable events in Availability module not working as ex

Post 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
Tablenet
New Member
New Member
Posts: 5
Joined: Sat Dec 03, 2011 1:31 pm

Re: Bookable events in Availability module not working as ex

Post 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
Tablenet
New Member
New Member
Posts: 5
Joined: Sat Dec 03, 2011 1:31 pm

Re: Bookable events in Availability module not working as ex

Post by Tablenet »

Hello,

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

Regards
Sam
Post Reply

Return to “Modules/Add-Ons”