hidding course mehu item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am trying to add a link on a course menu by using redirecting tool. It worked.
But I would like to make the link hidden by default, so that users have to go to settings and drag and drop to make it available for students.
Any advices?
thanks
li
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a hack of the redirect tool in edu-apps.org site hosted by Instructure. Use at your own risk:
<?xml version="1.0" encoding="UTF-8"?>
<cartridge_basiclti_link xmlns="http://www.imsglobal.org/xsd/imslticc_v1p0" xmlns:blti="http://www.imsglobal.org/xsd/imsbasiclti_v1p0"
xmlns:lticm="http://www.imsglobal.org/xsd/imslticm_v1p0"
xmlns:lticp="http://www.imsglobal.org/xsd/imslticp_v1p0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imslticc_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticc_v1p0.xsd http://www.imsglobal.org/xsd/imsbasiclti_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0p1.xsd http://www.imsglobal.org/xsd/imslticm_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticm_v1p0.xsd http://www.imsglobal.org/xsd/imslticp_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticp_v1p0.xsd">
<blti:title>Custom Redirect Tool Tab</blti:title>
<blti:description>Add links to external web resources that show up as navigation items in course, user or account navigation. Whatever URL you specify is loaded within the content pane when users click the link.</blti:description>
<blti:launch_url>https://www.edu-apps.org/redirect</blti:launch_url>
<blti:custom>
<lticm:property name="url">https://www.example.com</lticm:property>
</blti:custom>
<blti:extensions platform="canvas.instructure.com">
<lticm:property name="icon_url">https://www.edu-apps.org/assets/lti_redirect_engine/redirect_icon.png</lticm:property>
<lticm:property name="link_text"></lticm:property>
<lticm:property name="privacy_level">anonymous</lticm:property>
<lticm:property name="tool_id">redirect</lticm:property>
<lticm:options name="course_navigation">
<lticm:property name="url">https://www.example.com</lticm:property>
<lticm:property name="text">CUSTOM TAB LABEL</lticm:property>
<lticm:property name="visibility">public</lticm:property>
<lticm:property name="default">disabled</lticm:property>
<lticm:property name="windowTarget">_blank</lticm:property>
</blti:extensions>
</cartridge_basiclti_link>
Use the paste as XML option in the settings tab: How do I configure an external app for an account using XML?
For the consumer key and secret enter in NA and 'secret' respectively.
The URL on lines 11, and 19 will be whatever external site you need to have your users visit if the tab is enabled. The things I added were on lines 19-23 to specify the placement of the tool as a navigation tab.
Line 22 is what makes the navigation tab disabled by default if you add this at the account level rather than the course level. Line 23 makes it open in a new tab.
The label on line 20 can be customized, but so far I would match the text up with the name you enter on the LTI XML dialog. I would do a bit of experimentation with this in your test environment.
I claim no responsibility or ownership on the above code, and Instructure may or may not support it so enjoy at your own risk.