To further customise your OverDRIVE site, paste these snippets into the JS box in Site Settings > Developers.
Turn on comments function on every page
This code will enable the Comments feature on all your OverDRIVE pages, saving you from turning it on for individual pages.
/*turn on comments on all pages*/
odApp.page.contentoptions["page.comments"] = 1;
Show stars on topnav and subnav
Show stars next to navigation menu items when you`ve starred them in Drive (not available if your site is set to Access all Areas)
$("body").attr("od-topnav-show-starred", 1); $("body").attr("od-subnav-show-starred", 1);
Change selected labels within an OverDRIVE site
This code will change the labels your users see when viewing an OverDRIVE site. Below are just a few examples, to change the label to what you want simply edit the text in the " ". If there is anything you want to change on your site which is not listed below send an email to our Helpdesk and we'll do what we can to assist you.
/*change the text in the search box to "Search"*/
odApp.language["template-searchform-placeholder"] = "Search...";
/*change the text within the Filter box from "Filter" to "Filter the list below..."*/
odApp.language["datatables-filter-placeholder"] = "Filter the list below...";
/*change the number of files per page text from "View" to "Files per page"*/
odApp.language["datatables-pagesize-label"] = "Files per page";