- Posts: 27
How To / General
Joomdle Calendar
- Atle Johnsen
-
Topic Author
- Offline
- Junior Member
-
Less
More
7 years 5 months ago #1
by Atle Johnsen
Joomdle Calendar was created by Atle Johnsen
Latest joomdle and moodle.
Joomdle Calendar shows OK on frontend but I get an error when clicking on any date.
When clicking on a date I observe the URL in the browser:
www.mysite.com/nb/?option=com_joomdle&vi...=14&time=&Itemid=428
which is triggering an error (because of time=)
I tried on your demopage, clicked on a date and see the URL:
demo.joomdle.com/index.php?option=com_jo...year=2018&Itemid=519
As you can see this URL does not have "time=" ,but the proper content.
Any idea where the problem is ?
Joomdle Calendar shows OK on frontend but I get an error when clicking on any date.
When clicking on a date I observe the URL in the browser:
www.mysite.com/nb/?option=com_joomdle&vi...=14&time=&Itemid=428
which is triggering an error (because of time=)
I tried on your demopage, clicked on a date and see the URL:
demo.joomdle.com/index.php?option=com_jo...year=2018&Itemid=519
As you can see this URL does not have "time=" ,but the proper content.
Any idea where the problem is ?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7906
7 years 5 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Calendar
Hi Atle.
In demo, URL is different because it is using older Moodle/Joomdle versions, where URL was set using day, month and year.
In newer Moodle versios, time param is used to select calendar day.
You say you are running latest Moodle, is that correct?
In demo, URL is different because it is using older Moodle/Joomdle versions, where URL was set using day, month and year.
In newer Moodle versios, time param is used to select calendar day.
You say you are running latest Moodle, is that correct?
Please Log in or Create an account to join the conversation.
- Atle Johnsen
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
7 years 5 months ago #3
by Atle Johnsen
Replied by Atle Johnsen on topic Joomdle Calendar
Yes, I have the same situation with both Moodle 3.5 and 3.5.2.
For info the URLs I listed shows concatenated in this Kunena forum, so you have to hover cursor over them to see the full URL.
To me it seems that the time param is empty.
IF I manually edit the URL and replace 'time=' with '&day=10&mon=11&year=2018&Itemid=425' (just as in the URL of your demo site) it displays that date in Moodle correctly with no error.
For info the URLs I listed shows concatenated in this Kunena forum, so you have to hover cursor over them to see the full URL.
To me it seems that the time param is empty.
IF I manually edit the URL and replace 'time=' with '&day=10&mon=11&year=2018&Itemid=425' (just as in the URL of your demo site) it displays that date in Moodle correctly with no error.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7906
7 years 5 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Calendar
Moodle still accepts old syntax, so that's why it works when you enter the data directly.
Problem in this case is that URL has time variable empty for some reason....You can send me URL where I can see the module by email, in case I can spot some issue.
Problem in this case is that URL has time variable empty for some reason....You can send me URL where I can see the module by email, in case I can spot some issue.
Please Log in or Create an account to join the conversation.