AnsweredAssumed Answered

Disable/Hide the course unpublish button

Question asked by Christopher Casey on Mar 23, 2016
Latest reply on Mar 28, 2016 by Jarred Truschke

Does anyone know code that would hide or disable the unpublish button, while still keeping the publish button available?  Basically we want teachers to be able to hit publish before the semester starts (at their choice), and we also run a script to publish all courses on the first day of the semester.  We'd prefer if faculty couldn't unpublish courses after our script published them all.  Not a huge deal, just wondering if anyone had anything.  When I look at the html code, it seems the unpublish button doesn't actually have a name or anything associated with it (though maybe I'm just reading it wrong).


Attaching a picture of the button I'm referring to on the course homepage.


unpublish screenshot.PNG