After an outage on September 1, the Instructure Community is now fully available, including guides, release notes, forums, and groups. If some styling still looks unusual, clear your cache and cookies.
Found this content helpful? Log in or sign up to leave a like!
Hi, We use a third party (LTI) for our syllabus. We want to hide the Canvas version completely. I found an old post that provided some javascript for our theme. That works great for the desktop version, but it does not work for the mobile version. The code is
Solved! Go to Solution.
Hi @Justin_Reynolds,
Unfortunately, I am fairly sure what you are trying to do is not possible. The Canvas iOS and Android apps are programmed in native operating system languages (Swift for iOS and Kotlin for Android), so many UI elements are not part of the web view, which means they will not be affected by custom JavaScript and CSS.
As long as the Syllabus page is set to be disabled in the course settings, then it should not show up for students in the student view of the desktop and mobile apps. An idea you might consider is to create a script that crawls all your courses, making sure the syllabus link is disabled. It's not exactly the same as totally removing the option, but at least it would catch any courses that had the native Canvas syllabus link on by accident.
Hope this helps!
Hi @Justin_Reynolds,
Unfortunately, I am fairly sure what you are trying to do is not possible. The Canvas iOS and Android apps are programmed in native operating system languages (Swift for iOS and Kotlin for Android), so many UI elements are not part of the web view, which means they will not be affected by custom JavaScript and CSS.
As long as the Syllabus page is set to be disabled in the course settings, then it should not show up for students in the student view of the desktop and mobile apps. An idea you might consider is to create a script that crawls all your courses, making sure the syllabus link is disabled. It's not exactly the same as totally removing the option, but at least it would catch any courses that had the native Canvas syllabus link on by accident.
Hope this helps!
I do not understand
Justin,
Good morning! I'm on this quest right now and am curious what y'all ended up doing.
Thanks!
-Lea
Hi @LEASUSAN, We used @seanbeirnes suggestion. We created Python to disable the Syllabus from course navigation prior to installing JavaScript to hide it from the Settings>Navigation menu. That way, it disappeared from courses, mobile, and prevents it from being re-added. Attached are the JavaScript and Python if you'd like to review.
Justin
This is amazing. Thank you so much. Our data wiz is looking over it now. Would you be willing/able to get on a call with us for like 30 minutes so we can pick your brain? I'm not sure what we can do to support you, but we're open. We are in Ohio so we have corn, lake water, and mediocre professional sports teams. Thanks!
-Lea
lengle@lorainccc.edu
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in