How to Display Content on Course Pages for Teacher Role?

Jump to solution
matt5834
Community Novice

Hi-

We want to include content (likely just links) directly within certain course pages that will only display for the teacher role. These links will go to teacher resources for the course as a way to provide a teaching guide.

Can anyone suggest a way I might do this? I have Kynnethware  installed already .... maybe some javascript to go along with that?

Thank you!
Matt

1 Solution
dgrobani
Community Champion

Sorry, Matt, I misunderstood, but I think we're close.

What if you edited the HTML of the pages to embed id attributes, then use code incorporating the condition I provided to target those id's and insert hyperlinks to the teacher-only materials?

View solution in original post