<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Best Method For Inserting Notification Under Share Header? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/best-method-for-inserting-notification-under-share-header/m-p/285379#M238509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My project requires that site managers notify site members that the site in which they are currently viewing contains sensitive or confidential material.&amp;nbsp; This notification must be at the top and the bottom of each page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done this in 4.0 by overriding collaboration-title.get.html.ftl to include the simple code below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#if theme = "sensitiveInfo"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;div class="notification"&amp;gt;${msg("label.sensitiveInfo")}&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/#if&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; I've attached picture of a trivial mockup.&amp;nbsp;&amp;nbsp;&amp;nbsp; How should I go about doing this?&amp;nbsp; 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 &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.2/tasks/dev-extensions-share-tutorials-add-content.html" rel="nofollow noopener noreferrer"&gt;Add content to an Alfresco Share page&lt;/A&gt;&lt;SPAN&gt; tutorial approach elsewhere, however I do not see that this works for the header.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your thoughts are appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 17:59:29 GMT</pubDate>
    <dc:creator>vamirr</dc:creator>
    <dc:date>2014-07-10T17:59:29Z</dc:date>
    <item>
      <title>Best Method For Inserting Notification Under Share Header?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/best-method-for-inserting-notification-under-share-header/m-p/285379#M238509</link>
      <description>My project requires that site managers notify site members that the site in which they are currently viewing contains sensitive or confidential material.&amp;nbsp; 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</description>
      <pubDate>Thu, 10 Jul 2014 17:59:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/best-method-for-inserting-notification-under-share-header/m-p/285379#M238509</guid>
      <dc:creator>vamirr</dc:creator>
      <dc:date>2014-07-10T17:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Best Method For Inserting Notification Under Share Header?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/best-method-for-inserting-notification-under-share-header/m-p/285380#M238510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can extend the share-header.get.html.ftl to include the div.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;@markup id="notification-html" action="after" target="html"&amp;gt;&lt;BR /&gt;&amp;lt;#if theme = "sensitiveInfo"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;div class="notification"&amp;gt;${msg("label.sensitiveInfo")}&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/#if&amp;gt;&lt;BR /&gt;&amp;lt;/@&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 09:15:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/best-method-for-inserting-notification-under-share-header/m-p/285380#M238510</guid>
      <dc:creator>vamirr</dc:creator>
      <dc:date>2014-07-11T09:15:36Z</dc:date>
    </item>
  </channel>
</rss>

