While the Student View button is easily found under the Settings panel of the course navigation menu, many of the instructors at my institution still would prefer for it to be accessible on their home screen. Other Learning Management Systems offer a Student View button that is a bit more global, thereby allowing an instructor to quickly jump into the Student View from just about any location in LMS. Ian Heung had previously suggested the idea for this feature in his idea, Quick Toggle Student View, and its status has been updated to be on the Product Radar, but I am uncertain as to what the timeline for deployment may be.
- Determine if the user has an associated role as a Teacher for one or more courses.
- Render a "global" Student View button in the upper right corner the courses associated with this user.
- Hide the button when the user triggers the Student View.
- Prevent the button from rendering if the user is in a course where he or she is technically a Student.
If you are interested in applying this to your environment, please feel free to fork or download from my Bitbucket repository, which can be found here.