New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images not showing for students #67
Comments
Hi @bfriesenvcc If it's a floating then most likely something is not working in your infrastructure rather than code. I'd recommend further investigation to make sure you can provide steps to replicate. I will leave this one open for new in case anyone else is having a similar issue. |
Hmm.. were you sure to try logging in as a specific student (and not just switch role to student)? When I provide a URL to an image located elsewhere on our Moodle site, it works. However if I upload the image within the plugin, it is stored here and that's when the problem arises: https://ourmoodle.ca/pluginfile.php/1/local_sitenotice/content/2/togetherallwellbeing1.png |
Yes. Login as a random (using login as and direct login) student works for me. Would be nice to see exact steps to replicate with all details. Also you can try debugging and see where it's broken for you. This method is responsible for serving files for the plugin https://github.com/catalyst/moodle-local_sitenotice/blob/MOODLE_39_STABLE/lib.php#L62 |
I will keep playing around with it to see what I can figure out. |
I've created a site notice with an image and have discovered that the image isn't showing for students.
The attached image shows the student view at the top, and my (Admin) view at the bottom. The image actually only shows up for me when I create it the notice and for a little while later, but disappears the next day or a couple of days later, so I think that's a caching issue?
The text was updated successfully, but these errors were encountered: