<?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 Re: Icon file for custom page used in 'Customize site' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/icon-file-for-custom-page-used-in-customize-site/m-p/271988#M225118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, no unfortunately you cannot specify where the icon shall reside, so the icon must be placed to match the url just like you say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${url.context}/res/components/images/page-${page.pageId?js_string}-64.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought it could be wort adding a few notes about how to deploy the custom icon though. You might already know this but maybe somebody else finds it to be useful information…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A) Using an AMP &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rather than manually copying the icon into the tomcat/webapps/share/components/images folder I suggest taking a look at packaging your custom files in an amp file. An amp file can then be deployed to the server using the amp tool, meaning you don't have to manually "touch" the source files and folder in&amp;nbsp; tomcat/webapps/share. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more info about amps look at…&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/AMP_Files" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/AMP_Files&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;…and since you want to package client side assets (such as .js &amp;amp; .png etc) make sure you pay attention to the example in…&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/AMP_Files#Customising_the_structure_of_an_AMP_file" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/AMP_Files#Customising_the_structure_of_an_AMP_file&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;B) Using a .jar file (preferred!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However rather than using an AMP file which will "merge" your custom files into the alfresco source files inside your tomcat webapp folder, I suggest you package your custom files in a .jar file which then can be placed in tomcat/shared/lib so you always know that you only have alfresco source files in tomcat/webapps/share. Client side assets can be place inside the .jar files META-INF folder, in other words tomcat/shared/lib/your-extension.jar!META-INF/components/images/page-THE_PAGEID-64.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more information about packaging extensions in a .jar file…&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.alfresco.com/wp/kevinr/2010/01/28/alfresco-share-33-extensions-and-springsurf/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/kevinr/2010/01/28/alfresco-share-33-extensions-and-springsurf/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jan 2012 09:45:31 GMT</pubDate>
    <dc:creator>erikwinlof</dc:creator>
    <dc:date>2012-01-02T09:45:31Z</dc:date>
    <item>
      <title>Icon file for custom page used in 'Customize site'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/icon-file-for-custom-page-used-in-customize-site/m-p/271987#M225117</link>
      <description>I have successfully created a custom site page for Share and added it to Share so that it is displayed in the list of "Available site pages" when you select "Customize site" from the "More" drop down menu.At first, the icon that was displayed for the new page in the "Available site pages" panel was</description>
      <pubDate>Wed, 21 Dec 2011 16:19:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/icon-file-for-custom-page-used-in-customize-site/m-p/271987#M225117</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2011-12-21T16:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Icon file for custom page used in 'Customize site'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/icon-file-for-custom-page-used-in-customize-site/m-p/271988#M225118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, no unfortunately you cannot specify where the icon shall reside, so the icon must be placed to match the url just like you say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${url.context}/res/components/images/page-${page.pageId?js_string}-64.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought it could be wort adding a few notes about how to deploy the custom icon though. You might already know this but maybe somebody else finds it to be useful information…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A) Using an AMP &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rather than manually copying the icon into the tomcat/webapps/share/components/images folder I suggest taking a look at packaging your custom files in an amp file. An amp file can then be deployed to the server using the amp tool, meaning you don't have to manually "touch" the source files and folder in&amp;nbsp; tomcat/webapps/share. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more info about amps look at…&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/AMP_Files" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/AMP_Files&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;…and since you want to package client side assets (such as .js &amp;amp; .png etc) make sure you pay attention to the example in…&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/AMP_Files#Customising_the_structure_of_an_AMP_file" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/AMP_Files#Customising_the_structure_of_an_AMP_file&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;B) Using a .jar file (preferred!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However rather than using an AMP file which will "merge" your custom files into the alfresco source files inside your tomcat webapp folder, I suggest you package your custom files in a .jar file which then can be placed in tomcat/shared/lib so you always know that you only have alfresco source files in tomcat/webapps/share. Client side assets can be place inside the .jar files META-INF folder, in other words tomcat/shared/lib/your-extension.jar!META-INF/components/images/page-THE_PAGEID-64.png&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more information about packaging extensions in a .jar file…&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.alfresco.com/wp/kevinr/2010/01/28/alfresco-share-33-extensions-and-springsurf/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/kevinr/2010/01/28/alfresco-share-33-extensions-and-springsurf/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 09:45:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/icon-file-for-custom-page-used-in-customize-site/m-p/271988#M225118</guid>
      <dc:creator>erikwinlof</dc:creator>
      <dc:date>2012-01-02T09:45:31Z</dc:date>
    </item>
  </channel>
</rss>

