<?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 Share Extras - Notice Dashlet Title in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-extras-notice-dashlet-title/m-p/275025#M228155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to modify the Notice dashlet from Alfresco Share Extras, so that the user is not only able to enter an English title for the dashlet BUT ALSO a French title for the dashlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the .ftl file, i'm just not sure what exactly to modify? Any help would be appreciated, thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;script type="text/javascript"&amp;gt;//&amp;lt;![CDATA[&lt;BR /&gt;&amp;nbsp;&amp;nbsp; new Alfresco.dashlet.Notice("${args.htmlid}").setOptions(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "componentId": "${instance.object.id}",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "&amp;lt;#if args.title?exists&amp;gt;${args.title?js_string}&amp;lt;/#if&amp;gt;",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "text": "&amp;lt;#if args.text?exists&amp;gt;${args.text?js_string}&amp;lt;/#if&amp;gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }).setMessages(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${messages}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; );&lt;BR /&gt;&amp;nbsp;&amp;nbsp; new Alfresco.widget.DashletResizer("${args.htmlid}", "${instance.object.id}");&lt;BR /&gt;//]]&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div class="dashlet notice-dashlet"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;div class="title" id="${args.htmlid}-title"&amp;gt;&amp;lt;#if args.title?? &amp;amp;&amp;amp; args.title != ""&amp;gt;${args.title}&amp;lt;#else&amp;gt;${msg("notice.defaultTitle")}&amp;lt;/#if&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;#if hasConfigPermission&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;div class="toolbar"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a id="${args.htmlid}-configure-link" class="theme-color-1" title="${msg('link.configure')}" href=""&amp;gt;${msg("link.configure")}&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/#if&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;div class="body scrollableList"&amp;lt;#if args.height??&amp;gt; style="height: ${args.height}px;"&amp;lt;/#if&amp;gt;&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="${args.htmlid}-text" class="text-content"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;#if args.text?? &amp;amp;&amp;amp; args.text != ""&amp;gt;${args.text}&amp;lt;#else&amp;gt;&amp;lt;p&amp;gt;${msg("notice.defaultText")}&amp;lt;/p&amp;gt;&amp;lt;/#if&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;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;/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;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;/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>Thu, 22 Sep 2011 19:44:20 GMT</pubDate>
    <dc:creator>cedorfm</dc:creator>
    <dc:date>2011-09-22T19:44:20Z</dc:date>
    <item>
      <title>Share Extras - Notice Dashlet Title</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-extras-notice-dashlet-title/m-p/275025#M228155</link>
      <description>Hello, I am trying to modify the Notice dashlet from Alfresco Share Extras, so that the user is not only able to enter an English title for the dashlet BUT ALSO a French title for the dashlet.Here is the .ftl file, i'm just not sure what exactly to modify? Any help would be appreciated, thank you.&amp;amp;l</description>
      <pubDate>Thu, 22 Sep 2011 19:44:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-extras-notice-dashlet-title/m-p/275025#M228155</guid>
      <dc:creator>cedorfm</dc:creator>
      <dc:date>2011-09-22T19:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Share Extras - Notice Dashlet Title</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-extras-notice-dashlet-title/m-p/275026#M228156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you need to do two things. First you need to update the configuration dialogue to allow a French title to be specified as well as an English title. That is easy enough, you just need to modify the webscript FTL that appears under the org/alfresco/modules web script package (any values filled in the form will be automatically stored by Alfresco, so you don't need to worry about that).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second part would seem to be working out whether to display the English or French title when a user views the dashlet. For that you'd need to modify the FTL code that you posted, but what logic do you propose to use for selecting the language to use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 13:30:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-extras-notice-dashlet-title/m-p/275026#M228156</guid>
      <dc:creator>wabson</dc:creator>
      <dc:date>2012-03-22T13:30:19Z</dc:date>
    </item>
  </channel>
</rss>

