I have this same question, but I can start a new thread if needed. I have created the code, but I'm unsure where to put it.
We are using a "Cover Page" page, but it seems through multiple re-readings that derricksrandomviews' explanation is intended for one of the regular block edit pages. IS this the case?
If it is not the case, please advise where to put the code on the cover page.