AnsweredAssumed Answered

Best Method For Inserting Notification Under Share Header?

Question asked by vamirr on Jul 10, 2014
Latest reply on Jul 11, 2014 by vamirr
My project requires that site managers notify site members that the site in which they are currently viewing contains sensitive or confidential material.  This notification must be at the top and the bottom of each page.

I've done this in 4.0 by overriding collaboration-title.get.html.ftl to include the simple code below:


<#if theme = "sensitiveInfo">
   <div class="notification">${msg("label.sensitiveInfo")}</div>
</#if>


The site managers simply select their site theme to be the one which displays the notification and it's applied to each page within the site.


I'm in the process of upgrading our installation to 4.2.2 and I'm a little perplexed as to how best accomplish this under the new Share header UI.  I've attached picture of a trivial mockup.    How should I go about doing this?  Creating a custom widget and adding that to the Share header seems like a lot of work for a simple div. I've used the Add content to an Alfresco Share page tutorial approach elsewhere, however I do not see that this works for the header.  

Your thoughts are appreciated.



Attachments

Outcomes