Published 7th of February 2020
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
– Independent Senior Web Developer
working with Azure and Episerver
Visa det här inlägget på Instagram
Tip of the week! If you haven’t used DbLocalizationProvider before, it’s worth implementing it. A module for editors to translate/edit UI-data to the website. Even if you only have one language on site the system can be used for words and sentences used in the UI, ie buttons and things that are “hard-coded”. Also descriptions for fields in your CMS can be saved in the system and thus become editable for editors and administrators. The module is free, so ask your favorite developer to install and implement it. More power to the editors! https://emvp.blog/10