Welcome to the Freeway Forums

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to Register before you can post: click the Register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


   Freeway Forum Index -> Services  
View previous topic :: View next topic  
 
current and available days display incorrectly
 
emilytench

Posted: 25.09.2008
Group:
Score: 0
User's points: 0
I'm trying to locate a bug in services_info.php, the file called by the AJAX services calendar. When I first go to the calendar, it returns dates for the next and not currently displayed month, then continues to do erratic but repeatable things for each successive month. Also, blocking out a yearly time interval seems to have no effect on making any days unavailable on the calendar. Any help fixing the bug would be appreciated.

I am searching through the code that produces $nb_dates_string to be written to output.

Emily Tench
 
rameshrangan


Posted: 25.09.2008
Group: Graduate
Score: 0
User's points: 428
Hi,

Welcome to Freeway.

What version of Freeway are you using?

To block the unavailable day (the day set in blocked out time) on the calendar you have to set the ‘Booking Type’ as ‘Days’ under the subheading ‘Bookings’ in ‘Admin > Services’ settings.

Cheers,
_________________
Ramesh.P.
 
emilytench

Posted: 27.09.2008
Group:
Score: 0
User's points: 0
if I set booking type to days, to block out days, how can I still book services in minuet increments? my use case is, I want to book tickets, using "services" for a guided tour. During the holiday season, tickets are booked in 30 minuet increments, but tickets are unavailable the rest of the year... this reoccurs yearly. Why would I get the functionality that I described, even when I'm only blocking the hours that the tour is not open? without even trying to block out entire days, I still get : days in october listed when the september calendar is displayed, days in september and october listed when the october calendar is displayed, etc..

I have hard-coded a quick hack to make the particular case work for now
 
rameshrangan


Posted: 27.09.2008
Group: Graduate
Score: 0
User's points: 428
Hi,

Glad, you have things fixed

Anyhow, please update our latest release #208(Developer release). This is working fine here. It also has the fixes for the problems of the release 'Freeway 1.4.2.197 Sathish' & the developer release #199.

You can find it here:
http://www.openfreeway.org/download/subversion-repository.html

Cheers,
_________________
Ramesh.P.
 
emilytench

Posted: 27.09.2008
Group:
Score: 0
User's points: 0
I have upgraded a test to the 208 trunk. I'm still experienceing the same errors with services, timespan and blocking. I have to use minuets rather than days so that the service can be booked every 30 minuets. Sometimes, if the blocking overlaps a day, the service is only displayed on the hour, rather than 30 min, after noon. In the month of September, the dropdown displays days for October. In the month of October, the dropdown displays days for September. In the month of November, it displays days in September and October. I've been told by a co-worker that we need more flexibility than my hack provides. If there is a way that it can be configured so that it works properly, I'd be glad to be able to use this package as it is. I may work at fixing the blocking calculations. Do you have any suggestions about how to get the service to block properly without modifying the services_info.php code?
 
rameshrangan


Posted: 27.09.2008
Group: Graduate
Score: 0
User's points: 428
Hi,

Can you please send your ‘Admin > Services’ settings page in terms of screen shots? It will help us to understand the problem clearly.

Cheers,
_________________
Ramesh.P.
Display posts from previous:   
   Freeway Forum Index -> Services All times are GMT + 10 Hours
Page 1 of 1
 Jump to:   

What is going on
Our users have posted a total of 6563 articles
We have 1294 registered users
The newest registered user is mini4
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest   [ Administrator ]   [ Moderator ]
Most users ever online was 176 on 03.05.2008
Users browsing this forum: None
This data is based on users active over the past five minutes

Legend
 New posts     No new posts    Announcement
New posts [ Locked ]   No new posts [ Locked ]   Sticky
New posts [ Popular ]   No new posts [ Popular ]      
New posts perfect answer    No new posts perfect answer

 
 Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Top Members

Member Icons
  • Wizard (2500 points)
  • Guru (1000 points)
  • Pro (500 points)
  • Graduate (250 points)
How to earn points