Hello All!
OK I am still "fiddling" with this particular script.
As I pointed out in the previous post. Before I moved the script line no image would display even if a teacher was assigned to a course. After I moved the script line which is in "course/lib.php" only one image displayed for one course. None of the other images displayed for any of the other courses. I had also previously added a teacher to that particular course before moving the script line. I could not see any relationship between adding the teacher and seeing the image at the time.
Later this evening I added a teacher to two other courses . All of a sudden the images displayed. But, only if the course had a teacher added.
Any course I have not added a teacher to still does not have an image displayed although I added an image in the "Edit course settings" page.
The image should display even if a teacher is not assigned to the course.
Can anyone explain why this is happening??
WP1
General developer forum
Image in Course Display for each course
This discussion has been locked so you can no longer reply to it.