- Posts: 13
- Thank you received: 0
Coding error in helpers/calendar.php
- Chris Gelauff
- Topic Author
- Offline
- New Member
-
Less
More
4 years 6 months ago - 4 years 6 months ago #137149
by Chris Gelauff
Coding error in helpers/calendar.php was created by Chris Gelauff
Hi,
I notice that the month navigation arrows of the front-end calendar open a new - blank - window.
I suppose this is because the site root is included in the javascript link.
I hope the developper will correct this in the next update.
If you're encountering the same problem (quite likely), just delete the site root bit in the prev/next links on line 270 & line 325 of /components/com_osservicesbooking/helpers/calendar.php
I notice that the month navigation arrows of the front-end calendar open a new - blank - window.
I suppose this is because the site root is included in the javascript link.
I hope the developper will correct this in the next update.
If you're encountering the same problem (quite likely), just delete the site root bit in the prev/next links on line 270 & line 325 of /components/com_osservicesbooking/helpers/calendar.php
Last edit: 4 years 6 months ago by Chris Gelauff. Reason: spelling
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12961
- Thank you received: 1679
4 years 6 months ago #137150
by Mr. Dam
Replied by Mr. Dam on topic Coding error in helpers/calendar.php
Hi Chris,
Not sure with your idea, could you please explain more details your idea with the problems on file: calendar.php
Thanks
Dam
Not sure with your idea, could you please explain more details your idea with the problems on file: calendar.php
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Chris Gelauff
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
4 years 6 months ago - 4 years 6 months ago #137231
by Chris Gelauff
Replied by Chris Gelauff on topic Coding error in helpers/calendar.php
Hi Mr. Dam,
Sorry for my late response, I've been waiting to get a mail alert for your reply.
The problem is that is the JUri::root is mentioned in the lines for the month arrows.
This causes a new window to open.
Of course this window is blank since the URL is javascript.
You'll find the original code and the corrected one in the attached zip file, the differences are on line 292 and 325.
Sorry for my late response, I've been waiting to get a mail alert for your reply.
The problem is that is the JUri::root is mentioned in the lines for the month arrows.
This causes a new window to open.
Of course this window is blank since the URL is javascript.
You'll find the original code and the corrected one in the attached zip file, the differences are on line 292 and 325.
Last edit: 4 years 6 months ago by Chris Gelauff. Reason: Added attachment
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12961
- Thank you received: 1679
4 years 6 months ago #137260
by Mr. Dam
Replied by Mr. Dam on topic Coding error in helpers/calendar.php
Hi Chris,
It's strange, we have tested the Calendar arrow carefully on our Test environment, but we don't see any problems. Could you please click on My Downloads at the top and raise new ticket on category: OS Services Booking and provide your site url with super admin account. I will check the problem for you
Thanks
Dam
It's strange, we have tested the Calendar arrow carefully on our Test environment, but we don't see any problems. Could you please click on My Downloads at the top and raise new ticket on category: OS Services Booking and provide your site url with super admin account. I will check the problem for you
Thanks
Dam
The following user(s) said Thank You: Chris Gelauff
Please Log in or Create an account to join the conversation.
- Maarten
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
4 years 3 weeks ago - 4 years 3 weeks ago #141654
by Maarten
Replied by Maarten on topic Coding error in helpers/calendar.php
I have the same issue with the calendar and the blanc pages.
Is there a solution yet ?
I get the 404 error on the 'my working calender' layout.
The current month is displayed normal, but when I try to change the month with the arrows OR the month dropdown, I get the 404 page.
Is there a solution yet ?
I get the 404 error on the 'my working calender' layout.
The current month is displayed normal, but when I try to change the month with the arrows OR the month dropdown, I get the 404 page.
Last edit: 4 years 3 weeks ago by Maarten. Reason: update info
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12961
- Thank you received: 1679
4 years 3 weeks ago #141669
by Mr. Dam
Replied by Mr. Dam on topic Coding error in helpers/calendar.php
Hi,
Please submit ticket and send your site information with super admin account. I will check the issue for you
Thanks
Dam
Please submit ticket and send your site information with super admin account. I will check the issue for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.