<?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 files in deployed jar not being used in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/files-in-deployed-jar-not-being-used/m-p/272920#M226050</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;I have been having a problem with the iCal feed button in the Share calendar (from a brief look at the forums it appears I am not alone). The issue is that the button directs to (for instance) &lt;/SPAN&gt;&lt;A href="https://alfresco.company.local:8443/share/proxy/alfresco-feed/calendar/eventList-it-intranet.ics?site=it-intranet&amp;amp;format=calendar" rel="nofollow noopener noreferrer"&gt;https://alfresco.company.local:8443/share/proxy/alfresco-feed/calendar/eventList-it-intranet.ics?site=it-intranet&amp;amp;format=calendar&lt;/A&gt;&lt;SPAN&gt; in share, resulting in a blank page and no prompt to download an ics file. &lt;/SPAN&gt;&lt;A href="https://alfresco.company.local:8443/alfresco/service/calendar/eventList-it-intranet.ics?site=it-intranet&amp;amp;format=calendar" rel="nofollow noopener noreferrer"&gt;https://alfresco.company.local:8443/alfresco/service/calendar/eventList-it-intranet.ics?site=it-intranet&amp;amp;format=calendar&lt;/A&gt;&lt;SPAN&gt; works perfectly, so it seemed to me it would be simple to change the ftl file for calendar pages to direct to the latter URL instead. I copied the $TOMCAT_HOME/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/calendar/toolbar.get.html.ftl into a dev environment on it's own.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I opened the file in vi and changed lines 56-60 from &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="yui-u flat-button"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="ical-feed"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a id="${el}-publishEvents-button" href="${page.url.context}/proxy/alfresco-feed/calendar/eventList-${page.url.templateArgs["site"]}.ics?site=${page.url.templateArgs["site"]}&amp;amp;amp;format=calendar" rel="_blank"&amp;gt;${msg("button.ical")}&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="yui-u flat-button"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="ical-feed"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a id="${el}-publishEvents-button" href="&lt;A href="https://alfresco.company.local:8443/alfresco/service/calendar/eventList-${page.url.templateArgs[%22site%22]}.ics?site=${page.url.templateArgs[%22site%22]}&amp;amp;format=calendar" rel="nofollow noopener noreferrer"&gt;https://alfresco.company.local:8443/alfresco/service/calendar/eventList-${page.url.templateArgs['site']}.ics?site=${page.url.templateArgs['site']}&amp;amp;format=calendar&lt;/A&gt;" rel="_blank"&amp;gt;${msg("button.ical")}&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;(as an aside, I have looked through the various api pages on the wiki and cannot find an alternative to page.url.context for just the proto, hostname and port. Does anyone know of one (I know I can used the javascript location porperty but it does not work for alot of webscripts run by the server, as it relies on the window object. In this case I have just hardcoded it for simplicities sake.)&lt;/SPAN&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once built, this resides in the jar file at core-changes.jar!/alfresco/site-webscripts/org/alfresco/components/calendar/toolbar.get.html.ftl and I have deployed it to $TOMCAT_HOME/shared/lib, however, on server restart, the calendar page is unchanged. I was under the impression I was following the correct practice to override a file but I am still very fresh to Alfresco. Can anyone point out what I have missed here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think it applies very much for this issue, but in case, our environment is Ubuntu, tomcat, postgres, community 4.0.d&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit : : missing &lt;/SPAN&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN&gt; in parenthetical &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2012 22:52:16 GMT</pubDate>
    <dc:creator>chrisokelly</dc:creator>
    <dc:date>2012-05-15T22:52:16Z</dc:date>
    <item>
      <title>files in deployed jar not being used</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/files-in-deployed-jar-not-being-used/m-p/272920#M226050</link>
      <description>Hi,I have been having a problem with the iCal feed button in the Share calendar (from a brief look at the forums it appears I am not alone). The issue is that the button directs to (for instance) https://alfresco.company.local:8443/share/proxy/alfresco-feed/calendar/eventList-it-intranet.ics?site=it</description>
      <pubDate>Tue, 15 May 2012 22:52:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/files-in-deployed-jar-not-being-used/m-p/272920#M226050</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-05-15T22:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: files in deployed jar not being used</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/files-in-deployed-jar-not-being-used/m-p/272921#M226051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi chrisokelly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Recently I had the same problem with overriding template files and I solved it by putting file at different location inside jar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead core-changes.jar!/alfresco/site-webscripts/org/alfresco/components/calendar/toolbar.get.html.ftl &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try core-changes.jar!/alfresco/web-extension/site-webscripts/org/alfresco/components/calendar/toolbar.get.html.ftl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the following post: &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=5&amp;amp;t=43249" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=5&amp;amp;t=43249&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blaž&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 09:33:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/files-in-deployed-jar-not-being-used/m-p/272921#M226051</guid>
      <dc:creator>hunjet</dc:creator>
      <dc:date>2012-05-16T09:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: files in deployed jar not being used</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/files-in-deployed-jar-not-being-used/m-p/272922#M226052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Works perfectly. Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 04:58:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/files-in-deployed-jar-not-being-used/m-p/272922#M226052</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-05-17T04:58:12Z</dc:date>
    </item>
  </channel>
</rss>

