- Posts: 15
Calendar Module show the variable name instead of value
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
14 years 3 months ago #1
by Dan
Calendar Module show the variable name instead of value was created by Dan
Setup:
Joomla 1.7.2
Moodle 2.2
Joomdle 0.7 (with VMart patch from Antonio)
VirtueMart 2.0
CBuilder
If you are not logged in, the calendar looks fine. After you log in though, the bottom of the calendar shows instead of the values:
COM_JOOMDLE_EVENT_KEY:
COM_JOOMDLE_GLOBAL COM_JOOMDLE_COURSE COM_JOOMDLE_USER
How do I fix this or how do I hide them?
Thanks
D.
Joomla 1.7.2
Moodle 2.2
Joomdle 0.7 (with VMart patch from Antonio)
VirtueMart 2.0
CBuilder
If you are not logged in, the calendar looks fine. After you log in though, the bottom of the calendar shows instead of the values:
COM_JOOMDLE_EVENT_KEY:
COM_JOOMDLE_GLOBAL COM_JOOMDLE_COURSE COM_JOOMDLE_USER
How do I fix this or how do I hide them?
Thanks
D.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 3 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Calendar Module show the variable name instead of value
What language are you using? I just tested with english locally and it is working fine.
Please Log in or Create an account to join the conversation.
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
14 years 3 months ago #3
by Dan
Replied by Dan on topic Re: Calendar Module show the variable name instead of value
Default is English.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
14 years 3 months ago #4
by Chris
Replied by Chris on topic Re: Calendar Module show the variable name instead of value
Have you tried different users? As it is fine when not logged in, have you checked the language setting of that user?
Please Log in or Create an account to join the conversation.
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
14 years 3 months ago #5
by Dan
Replied by Dan on topic Re: Calendar Module show the variable name instead of value
Hey Chris, I tried with a different user and I also configured the language in the back end to English (Community Builder User Manager).
I think the problem is deeper than language settings.
When you go to Module management and look at the Joomdle Calendar, under Basic Options you see the variable names:
COM_JOOMDLE_START_WEEK_DAY
and
COM_JOOMDLE_GUESTS_SEE_GLOBAL_EVENTS
The tip tool (floating text when you mouse over the text) shows the same thing.
Module Class Sufix is fine.
During installation I got an error about the French pack missing but this is all English.
Thanks for your help.
I think the problem is deeper than language settings.
When you go to Module management and look at the Joomdle Calendar, under Basic Options you see the variable names:
COM_JOOMDLE_START_WEEK_DAY
and
COM_JOOMDLE_GUESTS_SEE_GLOBAL_EVENTS
The tip tool (floating text when you mouse over the text) shows the same thing.
Module Class Sufix is fine.
During installation I got an error about the French pack missing but this is all English.
Thanks for your help.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 3 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: Calendar Module show the variable name instead of value
Check that you have the file language/en-GB/en-GB.mod_joomdle_calendar.ini.
It seems no strings from the file are working.
It seems no strings from the file are working.
Please Log in or Create an account to join the conversation.
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
14 years 3 months ago #7
by Dan
Replied by Dan on topic Re: Calendar Module show the variable name instead of value
The file is there.
I even saved it on the local machine, opened it in Notepad++ and changed the encoding to UTF-8 before saving the file again.
The only difference is the old file is 591 and the new one is 594 in size.
Here is the content of the file, which looks correct to me:
# version 0.3 2010-09-10 00:04:27 ~0
# author Joomdle Team
# copyright Joomdle Team
# license
# Note : All ini files need to be saved as UTF-8
COM_JOOMDLE_SHOWS_MOODLE_CALENDAR_BLOCK="Shows Moodle calendar block"
COM_JOOMDLE_EVENT_KEY="Event key"
COM_JOOMDLE_GLOBAL="Global"
COM_JOOMDLE_USER="User"
COM_JOOMDLE_COURSE="Course"
COM_JOOMDLE_START_WEEK_DAY="Start week day"
COM_JOOMDLE_START_WEEK_DAY DESCRIPTION="Start week day for calendar"
COM_JOOMDLE_GUESTS_SEE_GLOBAL_EVENTS="Show global events to guests"
COM_JOOMDLE_GUESTS_SEE_GLOBAL_EVENTS_DESCRIPTION="Show global events to guests"
I even saved it on the local machine, opened it in Notepad++ and changed the encoding to UTF-8 before saving the file again.
The only difference is the old file is 591 and the new one is 594 in size.
Here is the content of the file, which looks correct to me:
# version 0.3 2010-09-10 00:04:27 ~0
# author Joomdle Team
# copyright Joomdle Team
# license
# Note : All ini files need to be saved as UTF-8
COM_JOOMDLE_SHOWS_MOODLE_CALENDAR_BLOCK="Shows Moodle calendar block"
COM_JOOMDLE_EVENT_KEY="Event key"
COM_JOOMDLE_GLOBAL="Global"
COM_JOOMDLE_USER="User"
COM_JOOMDLE_COURSE="Course"
COM_JOOMDLE_START_WEEK_DAY="Start week day"
COM_JOOMDLE_START_WEEK_DAY DESCRIPTION="Start week day for calendar"
COM_JOOMDLE_GUESTS_SEE_GLOBAL_EVENTS="Show global events to guests"
COM_JOOMDLE_GUESTS_SEE_GLOBAL_EVENTS_DESCRIPTION="Show global events to guests"
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
14 years 3 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Re: Calendar Module show the variable name instead of value
As you say, all seem ok.
Try using default joomla template to see if that makes any difference.... I am quite lost here.
Try using default joomla template to see if that makes any difference.... I am quite lost here.
Please Log in or Create an account to join the conversation.
- Dan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
14 years 3 months ago #9
by Dan
Replied by Dan on topic Re: Calendar Module show the variable name instead of value
Changing templates didn't make any difference.
This is really bizarre.
This is really bizarre.
Please Log in or Create an account to join the conversation.
- Mike Sturmey
- Offline
- New Member
-
Less
More
- Posts: 8
14 years 3 months ago #10
by Mike Sturmey
Replied by Mike Sturmey on topic Re: Calendar Module show the variable name instead of value
Hi Dan,
If it is the same problem that I had, try opening the language file and deleting all of the information before the first actual variable line and then re-save the text file making sure it is in UTF-8 format - this fixed the issue for me,
regards
Michael
If it is the same problem that I had, try opening the language file and deleting all of the information before the first actual variable line and then re-save the text file making sure it is in UTF-8 format - this fixed the issue for me,
regards
Michael
Please Log in or Create an account to join the conversation.