Skip to content
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

missing href content for Resources on course page #273

Open
andrewrowatt-masseyuni opened this issue Dec 20, 2023 · 0 comments
Open

missing href content for Resources on course page #273

andrewrowatt-masseyuni opened this issue Dec 20, 2023 · 0 comments

Comments

@andrewrowatt-masseyuni
Copy link

andrewrowatt-masseyuni commented Dec 20, 2023

Hi Team,

On my Open LMS site, on the course page, File (e.g., PDF) and URL resources are missing href content.

<a onclick="window.open('https://owrt-sandbox.mrooms.net/mod/resource/view.php?id=168&amp;redirect=1'); return false;" class="mod-link" href="">
<div class="activityiconcontainer resource"><img class="iconlarge activityicon" alt="" role="presentation" src="https://owrt-sandbox.mrooms.net/theme/image.php/snap/resource/1702653298/monologo?filtericon=1"></div>
<p class="instancename">Lorem ipsum dolor sit amet</p>
</a>

The expected behaviour works when the resource is clicked. But if you right-click and copy the link the result is the course page e.g. https://owrt-sandbox.mrooms.net/course/view.php?id=5.

For better or worse, many of our staff copy these links to use in other areas of the course.

Thanks,
Andrew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant