Automatically insert Published date

I have seen older threads about inserting a trigger to execute java script and have a date display.  Seems straightforward, but it always displays the users system date.

 

Our group is looking for a way to have a published date automatically populated when we go to publish a course.  While we (developers) know our content and what is new, our web team needs to be able to quickly tell when the course was published so that they don't put an older version up.

 

I know that we can manually add a date, but having something automatically populate (think Word), would be incredibly helpful.

6 Replies
Christie Pollick

Hi, Jon -- Thanks for reaching out here, and I am not sure if this is what you are looking for, or are referring to above when you mention an older thread, but I thought I might pass it along in case it would be helpful. Perhaps your fellow community members will have additional insights to share, or you may also want to see if the folks in our Building Better Courses forum here have some insight, as well. 

Jon Hurtado

Thank you, but that is not exactly what I am looking for.  Just like Microsoft Word, I want to add a date field in an inconspicuous place on one of the first pages of a course.  I would like for this date field to automatically update to the current date whenever the course is opened in editing mode, but not published mode. 

When the course is published, the date field will show the date that the course was published.  That way, we can have a very quick way of doing testing in our UAT areas. 

Christie Pollick

Thanks for passing along that discussion, Ulises, and Jon, I did want to mention that if you should decide to utilize JavaScript for what you have in mind, that is not something for which we would be able to offer support, so we'd need to defer to your fellow community members to assist you further. Here also is our JS Best Practices Sheet and Examples if you'd like to take a look.