Published 7th of February 2020
Episerver.CMS 11
On a hack day recently i wanted to address this.
The problem was that i couldn’t find a plugin area for the “header” area on IContents in UI. Feature request CMS ui team, pls.
So the main concept was to subcribe to “changeview/updatestate” which is fired often, then attach the html under the “ID, Type” label.
Here is the gist, ParentContainer.js is dojo code, Put “parentcontainer.js” in “scripts” folder. Modul.config is needed in the root solution folder to trigger the js file.
About the author
Luc Gosso
– Independent Senior Web Developer
working with Azure and Episerver
Twitter: @LucGosso
LinkedIn: linkedin.com/in/luc-gosso/
Github: github.com/lucgosso