Closed (fixed)
Project:
Booking Time Slots
Version:
6.x-1.1
Component:
booking_timeslots
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2009 at 13:00 UTC
Updated:
9 Apr 2010 at 14:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
kenorb commentedI'm quite don't understand what you asking..
Booking Time Slots module will allow you to book timeslots by clicking 'Book Now' and confirming the booking (by content type you can choose which details you want to insert).
In your opinion what you should able to see when you clicked 'Book Now' ?
datetime field is needed to store information about booked times.
After choosing 'Book Now' datetime field field normally should be hidden (apart when you are admin or you have permission 'edit timeslot settings') so it shouldn't confuse the users.
After that when you save that content type, your slot will change to 'Booked'.
Can you describe more which functionality are you expecting?
Comment #2
kenorb commentedSee screenshot for more details: http://drupal.org/node/498620
Comment #3
ddbell commentedWhen I click on Book Now, the content types show, I click on Tee_Time content type and enter Title, DateTime, and the following happens.
http://freewaygolfclub.com/calendar/2009-06-22
The entries go in the All Day area, the Book Now status does not change. I tried to book two tee times. Please help. Thanks.
Comment #4
kenorb commentedProbably you need datetime field instead of date.
Do you have datetime field and you've selected it on Settings Page?
If yes, probably you have no 'Date To' selected, please activate 'Date To', and it will be calculated automatically.
Comment #5
ddbell commentedThe datetime field is selected on the timeslot configuration page under "Site Configuration". I am not sure where to find the 'Date To' activation you are referring to. Thanks.
Comment #6
ddbell commentedCan you also send me a link to a work page where I can actually book a timeslot? This would help me see the correct process so that I know what to expect. Also, thanks for your prompt responses.
Comment #7
kenorb commented'Date To' you will find in field settings.
Content Types, Manage Fields, Select you Datetime field and Configure.
If you don't have 'Date To' then module don't know how long even should takes.
I haven't tested it in this way, but it could be improved.
I'll send you in private working page where you can compare your settings.
Comment #8
ddbell commentedThanks for your support. I look forward to getting your working page to see exactly how this should work. In the meantime, this is the information that I am dealing with. A round of golf can have up to 4 golfers to complete a foursome. This part seems to show fine on the calendar. Tee times are spread eight minutes apart and the round of golf should last 4-5 hours. Looking at the setting for 'Date To' please clarify based on the numbers that I just gave you. Thanks.
Comment #9
kenorb commentedSee attachment and green circle where you should activate 'Date To'.
When you Book a slot, it will be hidden. It's just for a storage method, when event starts and when it will finish.
Comment #10
ddbell commentedThanks for the information. I selected the required entry and still the system does not change the "Book Now" status. I know that it is something simple that I am missing. Please help. This is very important to me. Thanks.
Comment #11
ddbell commentedThanks. Ok, I see. One main difference is that your working model automatically opens your content type with the calendar dates set when you click on "Book Now". My "Book Now" opens the listings of content types like there is no direct connection to open my Tee Time content type automatically with the dates and times pre-populated. Thanks.
Comment #12
kenorb commentedAre you sure that you selected the right content type on Booking Timeslots settings page?
On admin/settings/booking_timeslots/form_settings
Comment #13
ddbell commentedYes, I created you an admin account so that you could see for yourself. Maybe I missed something. I will email it to you. Thanks.
Comment #14
kenorb commentedI found the reason.
It's because your content type contain underscore (_) in the name and Drupal replace this underscore to dash (-) when generating the URL link, so the module generate link with the original name instead of converting it in the same way as Drupal does.
It have to be fixed in TPL file (calendar-day.tpl.php), but first we need to find out from where it's converted to dash and how we can convert it in the same way.
Tomorrow I'll make quick view.
Comment #15
ddbell commentedThanks. I will just make a new content type without the underscore(_). I will let you know how that works tomorrow. Thanks again for all your support. It is greatly appreciated.
Comment #16
ddbell commentedThe "Book Now" is connecting to the new "TeeTime" content type without the underscore. The problem is that the From & To time frame only increase 1 hour and a half when the settings configuration for "TimeSlot" is 4 hours. In addition, the "Book Now" status is not changing to "Already Booked".
Thanks.
Comment #17
kenorb commentedYou need to edit your calendar view (admin/build/views/edit/calendar), and in section Arguments you have to select proper 'Content: Date' field. Date From is enough.
Because then in slots you have only time of node update.
Comment #18
ddbell commentedI changed the argument to "Date From" and still the "Book Now" status is not changing. Please try yourself with the admin id I created for you. Also, the time span for "From Date" to "To & Date" is 1:30 minutes instead of 4 hours. Thanks.
Comment #19
xaviviena commentedI also see 1h30min increment between From date and To date when I log in as an admin.
Another question: Is it possible to book more than one timeslot at the same time? for example, booking from 9:00 to 12:00 what means 3 timeslots in my calendar.
Comment #20
kenorb commentedxaviviena:
- as default there is 1h:30m, you can change it from Settings Page (probably from version 1.1 it's 1h00m)
- you can, increase your timeslot value from Settings Page - if you don't see it, please upgrade to 1.1
So in your case module is working correctly, this issue is that doesn't work at all in some cases, if there is different thing that doesn't work in your case, please raise a new support ticket.
Comment #21
kenorb commentedddbell:
It's because you turned on too many modules which you probably didn't know what they are doing.
Especially Content Permissions which set your permission separately on each field, that's why datetime field was missing.
And you don't need Date for PHP4, because you have PHP5, so I've disabled it as well.
Always turn on the modules that you really need.
So now booking slots are added correctly.
Comment #22
ddbell commentedYou are awesome. I want to talk with you about working with us on a special project. Consider yourself in. I will let you know once the budget is approved. Thanks for all your help and consideration.
Comment #23
kenorb commentedddbell:
Not a problem, it was helpful for me as well to know which problems people have with this module.
I'm ready to help you with your project as well.
This thread should be open unless issue with underscore names will be fixed.
Comment #24
ddbell commentedThanks. I did forget to address the increment of time between time slots. If you go to the site you will notice that the tee times increment every hour, however, the timeslots should increment every eight minutes. For example the time slots should read 6:00am, 6:08am, 6:16am, etc. Every 8 minutes a new foursome should be teeing off from hole #1. Tee times usually end around 3pm. I placed 8 minutes in the timeslot settings configuration but that did not seem to work. Thanks.
Comment #25
kenorb commentedYou need to change Time grouping in your Calendar view in View settings (wheel).
Then select Custom and try to insert your custom times.
It should give you list incremented for your own purpose, but I haven't tested yet booking_timeslots if it will work correctly, so you can test it and tell me if this worked.
Comment #26
ddbell commentedThe site is giving me this error. They started adding the tee times yesterday and this is the message that I am receiving.
user warning: Got error 28 from storage engine query: SELECT DISTINCT b.* FROM blocks b LEFT JOIN blocks_roles r ON b.module = r.module AND b.delta = r.delta WHERE b.theme = 'freeway' AND b.status = 1 AND (r.rid IN (1) OR r.rid IS NULL) ORDER BY b.region, b.weight, b.module in /home/btrubel0/public_html/freewaygolfclub.com/modules/block/block.module on line 407.
I can not even log in as the admin to do anything. Thanks.
Comment #27
kenorb commentedddbell:
You reach quota limit or server is run out of space.
Upgrade your account, change your hosting provider or contact server admin.
Comment #28
ddbell commentedThanks.
Comment #29
ddbell commentedThanks. We solved the server quota issue, it was there tmp folder on the main server.
I found the place to change the custom timing. Will this remove all existing tee time reservations or just add the additional time slots? Thanks.
Comment #30
kenorb commentedIt will just add time slots.
Comment #31
ddbell commentedThank you very very much. You have been extremely helpful.
Comment #32
ddbell commentedI added the following times in the custom area and it would not save:
00:00:00,06:00:00,06:08:00,06:16:00,06:24:00,06:32:00,06:40:00,06:48:00,06:56:00,07:00:00,07:04:00,07:12:00,07:20:00,07:28:00,07:36:00,07:44:00,07:52:00,08:00:00,08:08:00,08:16:00,08:24:00,08:32:00,08:40:00,08:48:00,08:56:00,09:00:00,09:04:00,09:12:00,09:20:00,09:28:00,09:36:00,09:44:00,09:52:00,10:00:00,10:08:00,10:16:00,10:24:00,10:32:00,10:40:00,10:48:00,10:56:00,11:00:00,11:04:00,11:12:00,11:20:00,11:28:00,11:36:00,11:44:00,11:52:00,12:00:00,12:08:00,12:16:00,12:24:00,12:32:00,12:40:00,12:48:00,12:56:00,13:00:00,13:04:00,13:12:00,13:20:00,13:28:00,13:36:00,13:44:00,13:52:00,14:00:00,14:08:00,14:16:00,14:24:00,14:32:00,14:40:00,14:48:00,14:56:00,15:00:00,16:00:00,17:00:00,18:00:00,19:00:00,20:00:00,21:00:00,22:00:00,23:00:00
Each foursome tees off every eight minutes from 6:00am - 3pm.
Not sure what I did wrong. Thanks.
Comment #33
kenorb commentedWhat do you mean 'it would not save'?
It looks odd, there is some error, or there is no reaction on Save button?
I think your theme is not proper themed and some buttons are not visible enough on Views when saving those settings.
Can you activate those 8min timing and I'll check that.
Comment #34
ddbell commentedWhat should I do to activate the 8 min timing outside of what I tried already. Is there something that I missed to properly setup the theme to work correctly? Thanks.
Comment #35
kenorb commentedProbably this TPL file supports only half-hour and hour slots, I'll test it soon to support custom timing.
Comment #36
ddbell commentedThanks.
Comment #37
ddbell commentedCan you provide an estimated time for the custom timing? My client can not use the 1 hour time slots as is. They need the custom timing setup. I will pay you if I have to in order to get their site functional. Thanks.
Comment #38
kenorb commentedHopefully next week.
Comment #39
ddbell commentedThank you,
Please test with this sample of 8 minute segments:
00:00:00,06:00:00,06:08:00,06:16:00,06:24:00,06:32:00,06:40:00,06:48:00,06:56:00,07:00:00,07:04:00,07:12:00,07:20:00,07:28:00,07:36:00,07:44:00,07:5
The tee times actually go from 6am to 3pm in 8 minute segments.
Thanks.
Comment #40
kenorb commentedAdded support for custom timing:
http://drupal.org/cvs?commit=237256
Comment #41
kenorb commentedvalidation and access improvements:
http://drupal.org/cvs?commit=237320
Comment #42
ddbell commentedThanks,
However, the problem still remains the same. To keep things simple, if you edit the view, click on "day view", click on icon next to style calendar, click on "Time Grouping", and select "Half Hour", I can not save the setting and then save the view changes. It keeps toggling back and forth between "default" and "override".
I did not even put in my custom timing yet because it will not save. If you can log in and fix this I will pay you for it. At this point, I do not know what I am doing wrong.
Here are my custom times:
00:00:00,06:00:00,06:08:00,06:16:00,06:24:00,06:32:00,06:40:00,06:48:00,06:56:00,07:00:00,07:04:00,07:12:00,07:20:00,07:28:00,07:36:00,07:44:00,07:52:00,08:00:00,08:08:00,08:16:00,08:24:00,08:32:00,08:40:00,08:48:00,08:56:00,09:00:00,09:04:00,09:12:00,09:20:00,09:28:00,09:36:00,09:44:00,09:52:00,10:00:00,10:08:00,10:16:00,10:24:00,10:32:00,10:40:00,10:48:00,10:56:00,11:00:00,11:04:00,11:12:00,11:20:00,11:28:00,11:36:00,11:44:00,11:52:00,12:00:00,12:08:00,12:16:00,12:24:00,12:32:00,12:40:00,12:48:00,12:56:00,13:00:00,13:04:00,13:12:00,13:20:00,13:28:00,13:36:00,13:44:00,13:52:00,14:00:00,14:08:00,14:16:00,14:24:00,14:32:00,14:40:00,14:48:00,14:56:00,15:00:00,16:00:00,17:00:00,18:00:00,19:00:00,20:00:00,21:00:00,22:00:00,23:00:00,24:00:00
Comment #43
kenorb commentedIt's because you have very weird theme and Views are confusing (#33).
You have two Save buttons, one is inside which is unthemed, try to press this Save, and after Save the whole View. I don't know if this will help, if not, try different theme for admin and retry it if this still will be the same.
Comment #44
ddbell commentedThanks. You were correct. I switched themes and it worked. What in particular should I asked them to fix about the template?
Thanks Again.
Comment #45
kenorb commentedYou can say them that buttons on Views configuration doesn't look likes a button. If you editing some option through AJAX, there are two buttons Save, one is unthemed.
Comment #46
ddbell commentedWhat view and where in the view exactly? Thanks.
Comment #47
kenorb commentedSee attached screenshot.
Blue circle - not needed space.
Green circle - is there are some buttons?
Comment #48
Canine Coaches commentedI was just checking out this module. It looks great by the way. I ran across this post. I believe it is the pathe auto module that converts. Go to admin>url aliases>automated alias settings>general settings From there you can change the seperator and choose which objects are replaced by the seperator. Hope that helps.
this was a response to #14
Comment #49
kenorb commentedhttp://drupal.org/cvs?commit=339498
Comment #50
kenorb commented