- Posts: 128
R0.25 No Longer Supported
[Solved] Minor Bug: Calendar Start Day
- Ron Wells
- Topic Author
- Offline
- Premium Member
-
Less
More
15 years 9 months ago - 15 years 9 months ago #1
by Ron Wells
[Solved] Minor Bug: Calendar Start Day was created by Ron Wells
In the Moodle calendar, the first day to the left is Sunday. With the Joomdle calendar, the first day on the left side is Monday. Could this be made to mirror the Moodle calendar setting? 
Thanks
Thanks
Last edit: 15 years 9 months ago by Antonio Durán.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
15 years 9 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Minor Bug: Calendar Start Day
Hi.
I took a look at the module (I have not coded it, it was made by a contributor) and it seems I can tune it to start on Monday or Sunday. I guess that would be enough, right?
Don't think many people want calendar starting on tuesday or something....but who knows
As I have not coded the module, nor do I master javascript, I don't feel like getting more into it
So, if you want I will send you a test copy so you can test.
For now I just included a harcoded variable in tmpl/default.php called $start_monday.
If it works, I can make it to pull this value from Moodle later.
So, you would remove the old calendar module and install the new one. As it's configured, it will start the week on sunday.
I took a look at the module (I have not coded it, it was made by a contributor) and it seems I can tune it to start on Monday or Sunday. I guess that would be enough, right?
Don't think many people want calendar starting on tuesday or something....but who knows
As I have not coded the module, nor do I master javascript, I don't feel like getting more into it
So, if you want I will send you a test copy so you can test.
For now I just included a harcoded variable in tmpl/default.php called $start_monday.
If it works, I can make it to pull this value from Moodle later.
So, you would remove the old calendar module and install the new one. As it's configured, it will start the week on sunday.
The topic has been locked.
- Ron Wells
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 128
15 years 9 months ago #3
by Ron Wells
Replied by Ron Wells on topic Re: Minor Bug: Calendar Start Day
Calendar start day is now fixed.
Thanks
Thanks
The topic has been locked.
- Ron Wells
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 128
15 years 9 months ago - 15 years 9 months ago #4
by Ron Wells
Replied by Ron Wells on topic Re: Minor Bug: Calendar Start Day
The Calendar start day is showing correctly but I am now having issues with my template NOT highlighting the days on the calendar where there are events.
We are using RocketTheme templates. When I switched my Dev site back to MilkyWay template - it started working again. I switched it back to RocketTheme and it kept working!
That said, for some reason, I can not get my production site to start working by switching back to another template. I posted a request on the RocketTheme forum to see if they could see what was going on. I did update my site to the latest template / Gantry system. That may be playing a part in the issue.
RocketTheme Forum Link
Thought I would post here in case others are using RocketTheme.
Thanks
Ron
We are using RocketTheme templates. When I switched my Dev site back to MilkyWay template - it started working again. I switched it back to RocketTheme and it kept working!
That said, for some reason, I can not get my production site to start working by switching back to another template. I posted a request on the RocketTheme forum to see if they could see what was going on. I did update my site to the latest template / Gantry system. That may be playing a part in the issue.
RocketTheme Forum Link
Thought I would post here in case others are using RocketTheme.
Thanks
Ron
Last edit: 15 years 9 months ago by Ron Wells.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
15 years 9 months ago #5
by Antonio Durán
Replied by Antonio Durán on topic Re: Minor Bug: Calendar Start Day
After some debugging, it turned out it had nothing to do with the template.
There were some bugs in calendar module that prevented it for working correclty in some situations.
They are fixed now. R0.26 will include those fixes.
Thansk for all the testing!
There were some bugs in calendar module that prevented it for working correclty in some situations.
They are fixed now. R0.26 will include those fixes.
Thansk for all the testing!
The topic has been locked.