- Posts: 13
Joomdle 1.0 Installation
Modules do not show content
- John Feagans
-
Topic Author
- Offline
- New Member
-
Less
More
7 years 9 months ago #1
by John Feagans
Modules do not show content was created by John Feagans
These only display the title line but not the Moodle courses:
Joomdle Course Content plugin
Joomdle Courses module
Joomdle My Courses module
However, a menu item created with Joomdle+course list displays the Moodle courses with no problem
Versions Joomla 3.8.10, Moodle 3.4. The site is https and system check is all green. Attached is the error log file from Joomla
Joomdle Course Content plugin
Joomdle Courses module
Joomdle My Courses module
However, a menu item created with Joomdle+course list displays the Moodle courses with no problem
Versions Joomla 3.8.10, Moodle 3.4. The site is https and system check is all green. Attached is the error log file from Joomla
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
7 years 9 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Modules do not show content
Hi.
How are you using the content plugin?
As for the modules:
- Courses: Do you have any courses in Moodle
- My courses: is currently logged user enroled into any courses?
How are you using the content plugin?
As for the modules:
- Courses: Do you have any courses in Moodle
- My courses: is currently logged user enroled into any courses?
Please Log in or Create an account to join the conversation.
- John Feagans
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
7 years 9 months ago - 7 years 9 months ago #3
by John Feagans
Replied by John Feagans on topic Modules do not show content
We have 10 courses in Moodle. On the pre-1.0 version of Joomdle everything showed up. Assign a slot in the template for the courses and also my courses. It was not necessary to log in to have the courses displayed on the home page.
Repeating, neither with the module or plugins do the courses appear. Only the title "Joomdle courses" appears.
I can attempt to debug the code again, but first, are you sure that everything works https?
What do you think of the error file and the references to "cat"?
Repeating, neither with the module or plugins do the courses appear. Only the title "Joomdle courses" appears.
I can attempt to debug the code again, but first, are you sure that everything works https?
What do you think of the error file and the references to "cat"?
Last edit: 7 years 9 months ago by John Feagans.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
7 years 9 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Modules do not show content
If you visit yoursite.com/index.php?option=com_joomdle do you see the courses?
The error in the file is not related, as it is related to the shop configuration.
The error in the file is not related, as it is related to the shop configuration.
Please Log in or Create an account to join the conversation.
- John Feagans
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
7 years 9 months ago #5
by John Feagans
Replied by John Feagans on topic Modules do not show content
Yes, they appear
aslcelebration.com/joomla388/index.php?option=com_joomdle
However, click the "Home" tab and you will see the "Available Courses" is blank
However, click the "Home" tab and you will see the "Available Courses" is blank
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
7 years 9 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Modules do not show content
Then check your module configuration, to confirm that you have not selected any specific courses or categories.
As for "my courses": log in with a user with courses and check my courses module, and visit:
aslcelebration.com/joomla388/index.php?o...omdle&view=mycourses
As for "my courses": log in with a user with courses and check my courses module, and visit:
aslcelebration.com/joomla388/index.php?o...omdle&view=mycourses
Please Log in or Create an account to join the conversation.
- John Feagans
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
7 years 9 months ago - 7 years 9 months ago #7
by John Feagans
Replied by John Feagans on topic Modules do not show content
Negative on groups or courses
I have not yet worried about "My Courses" but it does not show as well.. The one article contains a reference to courses and it is blank as well
This was all working before conversion to https and latest Joomdle
I have not yet worried about "My Courses" but it does not show as well.. The one article contains a reference to courses and it is blank as well
This was all working before conversion to https and latest Joomdle
Last edit: 7 years 9 months ago by John Feagans.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
7 years 9 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Modules do not show content
I don't know what may be wrong .... this is working fine for me and no one else has reported similar problems, and I have never seen something like this in the past (view working, module not working)
I am afraid I cannot give you any more info from here. If you want us to take a look at your site, please contact us at our professional services email account: development at joomdle
I am afraid I cannot give you any more info from here. If you want us to take a look at your site, please contact us at our professional services email account: development at joomdle
Please Log in or Create an account to join the conversation.
- John Feagans
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
7 years 9 months ago - 7 years 9 months ago #9
by John Feagans
Replied by John Feagans on topic Modules do not show content
OK, I will debug the code. When I find the issue I'll post the solution.
Some preliminary debug;
Enter edit the module. Change specific category and specific courses to "FOOBAR". Save. "FOOBAR" disappears from the form.
Some preliminary debug;
Enter edit the module. Change specific category and specific courses to "FOOBAR". Save. "FOOBAR" disappears from the form.
Last edit: 7 years 9 months ago by John Feagans.
Please Log in or Create an account to join the conversation.
- John Feagans
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
7 years 9 months ago #10
by John Feagans
Replied by John Feagans on topic Modules do not show content
I have two functional sites to compare so I found a problem in the database. In the Joomla modules table entry for module=mod_joomdle_courses, the contents of table entry for "params"
broken with joomdle 1.2
"linkto":"description","guest courses only":"0","free courses only":"0","sort_by":"name","latest courses only":"","courses_shown":[""],"categories_shown":[""],"layout":"_:default","moduleclass_sfx":"","module_tag":"div","bootstrap_size":"0","header_tag":"h3","header_class":"","style":"0"}
working with joomdle 1.02
{"linkto":"description","guest courses only":"0","free courses only":"0","sort_by":"name","latest courses only":"","moduleclass_sfx":"","module_tag":"div","bootstrap_size":"0","header_tag":"h3","header_class":"","style":"0"}
I deleted '"courses_shown":[""],"categories_shown":[""],' which now allowed the available courses to be displayed in Joomla. I have to look further but it seems like when the categories and courses is NULL, everything is fine but when written as an empty array, the code fails.
broken with joomdle 1.2
"linkto":"description","guest courses only":"0","free courses only":"0","sort_by":"name","latest courses only":"","courses_shown":[""],"categories_shown":[""],"layout":"_:default","moduleclass_sfx":"","module_tag":"div","bootstrap_size":"0","header_tag":"h3","header_class":"","style":"0"}
working with joomdle 1.02
{"linkto":"description","guest courses only":"0","free courses only":"0","sort_by":"name","latest courses only":"","moduleclass_sfx":"","module_tag":"div","bootstrap_size":"0","header_tag":"h3","header_class":"","style":"0"}
I deleted '"courses_shown":[""],"categories_shown":[""],' which now allowed the available courses to be displayed in Joomla. I have to look further but it seems like when the categories and courses is NULL, everything is fine but when written as an empty array, the code fails.
Please Log in or Create an account to join the conversation.