How do I make the new DesignPLUS sidebar default for my institution?

If your institution is ready to make the new DesignPLUS sidebar default, the JavaScript variable defaultToLegacy will need to be adjusted in the Canvas Theme.

In the Global JavaScript, there is a line that says:

defaultToLegacy: true,

This will need to be changed to say:

defaultToLegacy: false,

Step-by-Step Instructions

To make the new sidebar default, you'll need to edit the JavaScript file for your Canvas Theme. To do so:

  1. Navigate to Account or Sub-account where DesignPLUS is installed.
  2. Access the Themes page from the Account navigation menu.
  3. Find the current theme, and open it in the Theme Editor.
  4. Within the Theme Editor, select the Upload tab in the top left.
  5. To the right of the "JavaScript file" title, select the View File link.
  6. Anywhere on the page, right-click, and select "Save As." It is helpful to add a suffix to the file name with the date you're making changes, so you can easily differentiate versions of this file.
  7. Open the file in a code editing program or a simple text editor (like Notepad for Windows or TextEdit for Mac).
  8. Change the variable defaultToLegacy from 'true' to 'false'
  9. Save the file to your computer with a .js file extension.  For example, "myJavaScriptFile.js"
    1. If you're using Notepad, make sure to choose "All Files" when saving it so you can use a .js file extension.
    2. If you're using TextEdit, make sure to choose Format > Make Plain Text before saving the file.
  10. Return to the Theme Editor in Canvas.
  11. Within the same theme, choose the Select button for the JavaScript file.
  12. Locate and select the .js file you just saved. (If you added a date suffix, you can easily search for it!)
  13. Click the Open button.
  14. Select the Preview Your Changes button in the center of your screen.
  15. Select the Save Theme button in the lower right. You will be prompted to name the theme.
  16. Select the Apply Theme button in the lower left, and select Ok on the browser alert to apply the changes to the entire account or sub-account.

Why is the legacy sidebar still appearing?

After updating the JavaScript, the legacy sidebar may still appear. This is because your browser may still have the "dpUseLegacy = true" cookie. This means the new version will not be default right away.

For brand-new users, the new sidebar will default.

For users who have enabled the new sidebar, the new sidebar will continue to load.

For users who have legacy enabled, they will need to clear the cookie before it defaults to the new DesignPLUS sidebar. To clear the cookie, clear your browser cache and cookies.

To delete the "dpUseLegacy = true" cookie:

  1. Right-click on your Canvas page and click Inspect.
  2. Click on the Application tab (you may need to expand the double arrows to see it).
  3. Under Storage, click the Cookies dropdown, and click on the <domain>.intructure.com URL.
  4. Under the Name tab, find the dpUseLegacy cookie, and delete it.

Delete dpUseLegacy cookie

If you would like further assistance with making the new sidebar default, please reach out to support@cidilabs.com.