Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Booking component not user friendly
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: Booking component not user friendly

Re: Booking component not user friendly 11 years, 10 months ago #36655

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

we received only 1 mail on Tato emailová adresa je chráněna před spamboty, abyste ji viděli, povolte JavaScript . Where did you send the others?

That settings is in object detail -> Price tab
(Components -> ARTIO Booking -> Objects -> {your_object} -> Prices -> Time range)

It is in the fields where you set 0:00 - 23:00. Instead of 23:00 use 0:00 and booking system will 'translate' it as 0:00 one day to 0:00 next day (24:00).

Is this helpful for you?
ARTIO Support Team
Last Edit: 11 years, 10 months ago by maju.
The topic has been locked.

Re: Booking component not user friendly 11 years, 10 months ago #36657

Hi,

I have been sending the emails to Tato emailová adresa je chráněna před spamboty, abyste ji viděli, povolte JavaScript . It would be good if you could reply to them. Also changing the time to 00:00 to 00:00 was not very helpful. Nothing was displayed in the time range once i did that. Also , when i saw it did not work , I tried changing it to 00:01 - 23:59, that displayed the same old time range with one hour missing.

Regards,
Clarentina
The topic has been locked.

Re: Booking component not user friendly 11 years, 10 months ago #36663

  • maju
  • OFFLINE
  • Posts: 1107
Ok, you have probably 1.5.7 and there is not this functionality, but I don't know why. You can repair it by changing code in {project_root}/administrator/components/com_booking/helpers/booking.php

Around line 568 should be this code:
                                    $box->fromDate = $currentDay->date . ' ' . $box->fromTime;
if ($subject->night_booking)
$box->toDate = $currentDay->nextDate . ' ' . $box->toTime;
else
$box->toDate = $currentDay->date . ' ' . $box->toTime;


Modify it to (there are 2 new lines):
                                    $box->fromDate = $currentDay->date . ' ' . $box->fromTime;
if ($subject->night_booking)
$box->toDate = $currentDay->nextDate . ' ' . $box->toTime;
else if($box->toTime == '24:00')
$box->toDate = $currentDay->nextDate . ' 00:00';
else
$box->toDate = $currentDay->date . ' ' . $box->toTime;


I tested in on our demo site and it should work for you too. You can see result here.

PS: Let us know, that it helped you. If everything will be correct also for you, I will add this modification to our project, so you will not lose these changes after update to 1.5.8.
ARTIO Support Team
Last Edit: 11 years, 10 months ago by maju.
The topic has been locked.

Re: Booking component not user friendly 11 years, 10 months ago #36699

Hi,

This did not work. I set the to and from time under the prices tab to 00:00 and made this change. But still it does not work. In the loop you have give the time as 24:00, the to time is never 24:00. The max it can be set to is 23:59 after which it changes to 00:00 automatically. Please let me know if there is anything else we could do.

Regards,
clarentina
The topic has been locked.

Re: Booking component not user friendly 11 years, 10 months ago #36724

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

Can you post me printscreen how your price settings of object looks like? I am not sure, what did you set there. For this problem I also created Test 3 Object on our demo site, where you can see solution.

Test 3 Object

If you look there, is this week calendar ok for you?

I used settings visible on 24-hours.png

If you have everything same and still have problem with 24 hours, can you post me ftp access and admin login to your site? My email is Tato emailová adresa je chráněna před spamboty, abyste ji viděli, povolte JavaScript
Attachments:
ARTIO Support Team
Last Edit: 11 years, 10 months ago by maju.
The topic has been locked.

Re: Booking component not user friendly 11 years, 10 months ago #36748

Hi,

I am attaching a couple of screenshots of the object. Please look into it and get back to me. Also, I have not received any reply from Tato emailová adresa je chráněna před spamboty, abyste ji viděli, povolte JavaScript .


rsz_screenshot-5.png


rsz_screenshot-6.png
Last Edit: 11 years, 10 months ago by GS LIMO.
The topic has been locked.
Přihlášení uživatele Prázdný