<?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 overriding webscripts doesn`t work... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/overriding-webscripts-doesn-t-work/m-p/296168#M249298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;…but that´s maybe due to me being dumb.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to override search.lib.js in the current community nightly 4.2.d build (as of july 2nd, 2013), so I copied&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/search/search.lib.js&lt;SPAN class="line-numbers-rows"&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;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/search.lib.js&lt;SPAN class="line-numbers-rows"&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;This should be the right path, or am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I change the original file, changes are picked up. If I change something in the copied file (the one in the extension dir), nothing happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/comment/80777#comment-80777" rel="nofollow noopener noreferrer"&gt;this&lt;/A&gt;&lt;SPAN&gt; post, it should be the correct extension path. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I overworked? Or just dumb? Or is there another explanation? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help me please! &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edit: double checked the directory:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;[root@somesystemname /]# find /opt/alfresco-4.2.d -name "search.lib.js" &lt;BR /&gt;/opt/alfresco-4.2.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/search/search.lib.js&lt;BR /&gt;/opt/alfresco-4.2.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/search.lib.js&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks ok, doesn't it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2013 14:30:39 GMT</pubDate>
    <dc:creator>wurstgelee</dc:creator>
    <dc:date>2013-07-05T14:30:39Z</dc:date>
    <item>
      <title>overriding webscripts doesn`t work...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overriding-webscripts-doesn-t-work/m-p/296168#M249298</link>
      <description>…but that´s maybe due to me being dumb.I am trying to override search.lib.js in the current community nightly 4.2.d build (as of july 2nd, 2013), so I copiedtomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/search/search.lib.js‍totomcat/webapps/alfresco/WEB</description>
      <pubDate>Fri, 05 Jul 2013 14:30:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overriding-webscripts-doesn-t-work/m-p/296168#M249298</guid>
      <dc:creator>wurstgelee</dc:creator>
      <dc:date>2013-07-05T14:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: overriding webscripts doesn`t work...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overriding-webscripts-doesn-t-work/m-p/296169#M249299</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;the extension lookup does not work for .lib.js / .lib.ftl files. Only the actual web script files will get picked up automatically from the extension path. If you want to change the .lib.js in the extension path, you also need to change all the web script files that include the .lib.js on the extension path as well (change their &amp;lt;import&amp;gt; directive at the top of the file - grep for the list of .js to change).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 08:24:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overriding-webscripts-doesn-t-work/m-p/296169#M249299</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-07-08T08:24:50Z</dc:date>
    </item>
  </channel>
</rss>

