Hi,

Firstly thanks for the module, I know it must have been alot of work.

I am stuck on two issues:

1. When you click on a day and click on "Book now" the link goes to node/0 rather than picking up the content type that is associated with the calendar view.
I have reinstalled a number of times. I read another similar issue but that was resolved by reinstalling drupal which I cannot do.
When I run the query "select * from variable where name like "booking_timeslot_%" there are no variables stored - are there meant to be? Can I add them in manually?

2. The second issue is even when I have created a booking this is not being shown on the day calendar as being booked.

The calendar is here:
http://s75982.gridserver.com/facilities/thestation

The booking timeslot settings are here:
http://s75982.gridserver.com/admin/settings/booking_timeslots/form_settings

Any help would be appreciated.

Thanks,
Kat

Comments

kenorb’s picture

It's related to: #525700: Clicking "Book Now" opens Create Content Page (listing all node types)
I'll check that for you.

But the first link doesn't work (Page not found).
Where you have page with booking?

Kat_Sweden’s picture

Yeah sorry we changed the link yesterday to http://s75982.gridserver.com/facilities/the-station

The first issue I have gotten around by hardcoding some values in there.

The second issue is still there - so when you click 'Book now' on the weekly calendar you can create the booking but then the calendar doesn't reflect that the booking slot has been booked.

kenorb’s picture

Priority: Critical » Normal

You need to setup your Calendar view and select your date fields (in Arguments section).

kenorb’s picture

Title: Book now not working » link goes to node/0 and calendar doesn't reflect the booking slots
Kat_Sweden’s picture

I have got an argument setup using the field_stationbooking which is the field associated with The Station content type.

http://s75982.gridserver.com/admin/build/views/edit/thestation?destinati...

Is there something wrong with the way it has been setup?

kenorb’s picture

Can you set me Views configuration permission?
kenorb

Kat_Sweden’s picture

Hey - you should have admin access now - thanks for looking at this.
Let me know how you go.

kenorb’s picture

I'm not sure, but those dates should be there.
The things that are weird for me:
- you using Date browser instead of Calendar view, I've tested it using Calendar View.
- In calendar you have some option like group_by times which I can't find in this Date browser
You should test it with Calendar view or debug calendar-day.tpl.php in your theme dir what's wrong with the dates.

Kat_Sweden’s picture

Hey thanks heaps for your help.

I enabled the Calendar view and used that view to create the remaining booking calendars. Works well now.

Another issue I'm having now is that booking timeslots still say "book now" even after I have created a booking for that 1 hour timeslot.

I can't see a config setting to change thisis this meant to be the default behaviour?

kenorb’s picture

In booking_timeslots settings you can set how many booking are available per one slot. Have you found it already?

kenorb’s picture