How To / General

my courses view and 'Notice: Undefined index'

  • bf360
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 8 months ago #1 by bf360
Hi! i've two 'problem' with 'my courses' view.
When i access at a course using this view, i see the course with the joomdle template. Is possible to go at the moodle page (the same that i see using the button 'go to course' that is the page wrapped from moodle) ?
Anyway, when i access at page course with the moodle template, i have errors for any lesson
- For any lasson: 'Notice: Undefined index: content in C:\online\www\components\com_joomdle\views\course\tmpl\default.php on line 75'
- in forum section: 'Notice: Undefined index: content in C:\online\www\components\com_joomdle\views\course\tmpl\default.php on line 109'
Where is that i wrong on the installation ?

tnx for all
Roberto

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2 by Chris
For your first question, the My Courses view is intentionally designed that way. You could override the look with template overrides using the approach from "go to course" button or create a new view or custom module for that.

For the second issue related to undefined index, you had reported similar problems around 5 months ago that was caused by incorrect joomdle versions. Have you upgraded either joomdle in joomla or moodle recently?

Please Log in or Create an account to join the conversation.

  • bf360
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 8 months ago #3 by bf360
for first question...can you give me some suggestion to override the look ?

for second issue: i've upgrade joomdle to 1.0.3 yesterday, but the issue existed before, no upgrading moodle, upgrade joomla from 3.3.6 to 3.4.3 some month ago

tnx
Roberto

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic my courses view and 'Notice: Undefined index'
Did you upgrade Joomdle in Moodle too?

As for your first question: just set configuration in menu item to use wrapper, instead of course view.

Please Log in or Create an account to join the conversation.

  • bf360
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 8 months ago #5 by bf360
Damn!!! again the same forgetfulness! Really really sorry Antonio and Chris!
Upgrading auth_joomdle and enrol_joomdle the issues is resolve

And for first question, i don't know how but using the configuration in attach image, now when i use "my courses" menu, and i click once my course, i see the course wrapped from moodle (using the template that i select for page wrapped)


Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic my courses view and 'Notice: Undefined index'
I don¡t know if you have it working like you want already, but what you show in second pic is module configuration, not the one from the my courses view.
You need to check options tab in menu item.

Please Log in or Create an account to join the conversation.