Hi,
If a student clicks on the attachment/or download for a unit, the same page loads for the attachment, cutting off the video that maybe playing for that lesson.
I've researched your knowledge base and saw this 2-year-old fix:
https://wplms.io/support/knowledge-base/attachments-are-opening-on-the-same-page-fix/
but unfortunately, this script isn't working.
Please advise on an updated fix. Thanks
This reply has been marked as private.
@Mz-Platinum,
yes, this tip is not working anymore. I'll send you the updated one
Ok, are you sending me the updated tip or just posting it here?
I haven't received anything in my email
@MzPlatinum,
Apologies for the delay...
Paste this code in wp-admin > WLMS > Footer > Google Analytics Code
<script>
$(document).ready(function(){
$('#attachments a').attr('target', '_blank');
});
</script>
This reply has been marked as private.
This reply has been marked as private.
Ok,
I see you changed the code from what was given earlier.
Cool! I'll update that on the real site. I appreciate your help. Thanks.
@MzPlatinum,
Welcome..!!
Thanks for confirming. I am closing this topic as your issue is resolved