<?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 Custom share themes via a JAR file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248429#M201559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a little lost here, I am attempting to customize the look and feel of Alfresco, community version 4.0.b. It is installed via web quick start on a Ubuntu server and running with Postgres DB in a Tomcat environment. I need to use a Jar file to do this, rather than simply editing files in the webapp directory so that future updates will not be as much of an issue for us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read through Alfresco 3 Business Solutions from packtpub (specifically chapter 3 dealing with development environments), &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Share#Themes" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Share#Themes&lt;/A&gt;&lt;SPAN&gt;, the alfresco 4.0 documentation and a good few web tutorials (&lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/mikeh/2010/11/26/install-new-share-theme-via-jar-file/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/mikeh/2010/11/26/install-new-share-theme-via-jar-file/&lt;/A&gt;&lt;SPAN&gt; being the most recent) and just do not seem to be getting anywhere at all. apart from the alfresco 4.0.b documentation and wiki these are obviously a little dated, so I accept that may be part of it. Unfortunately the wiki recommends I edit the files directly (which is not applicable in our case) and the documentation does the same. Part of the confusion is that when it comes to the development environment, each of these sources suggests a different directory structure designed specifically for their own tutorials or sample files, which only works with their specific build.xml file (and these tend to be designed for more complex extensions than skinning).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I have at the moment is as follows -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;customtheme&lt;BR /&gt;|-alfresco&lt;BR /&gt;&amp;nbsp; |-site-data&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-themes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-customtheme.xml&lt;BR /&gt;|-META-INF&lt;BR /&gt;&amp;nbsp; |-themes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-customtheme&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-images&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-yui&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-login.css&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-presentation.css&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;/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;BR /&gt;&lt;SPAN&gt;I have replaced the instances of the theme name in presentation.css, and yui/assets/skin.css, I have a &amp;lt;title&amp;gt; and &amp;lt;title-id&amp;gt; in customtheme.xml. I jar it up using &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;jar -cvf customtheme.jar customtheme/ &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; from one level above the top customtheme directory successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I move the resulting .jar into the alfresco directory. Based on my original finding I was starting by putting it in tomcat/webapps/share/WEB-INF/lib but after reading some different tutorials I have put it in tomcat/shared/lib. I restart alfresco after each time I move it to any location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The theme does not show up in the application admin console, though the out of the box ones show up and can be changed between with no issue. I can add ?theme=customtheme to the end of the URL and when I inspect the page in firrebug I can see it is aiming to get classnames and such from yui-skin-customtheme however it does not appear to find them, the page loads without formatting and any images still appear to attempt to load from /share/res/themes/default/images/. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As we are using Tomcat 6 I have checked that Tomcat is set up as per &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Install_Tomcat6" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Install_Tomcat6&lt;/A&gt;&lt;SPAN&gt; (it already seemed to be, I am guessing courtesy of web quick start, all I did was mkdir the /shared/lib directory). I have seen some info about modifying share-config-custom.xml to change the default theme but I believe this is not necessary for newer versions with the ability to choose the theme in the admin menu? I am confident this is not a conflict with any other extensions, as we have not added any. The only modifications made from OOB are to change the authentication chain and set up SSL and SSO (all of which are working fine now). Each time I have tested the jar file and found no change I have removed the jar file to prevent them from causing problems down the track.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Feeling kind of stupid for being so stuck by a simple skinning issue, have I missed something obvious here? This is my first time working with Alfresco, I am more used to wordpress and phpBB but I have gotten my foot into the enterprise door now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 06:32:50 GMT</pubDate>
    <dc:creator>chrisokelly</dc:creator>
    <dc:date>2012-03-26T06:32:50Z</dc:date>
    <item>
      <title>Custom share themes via a JAR file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248429#M201559</link>
      <description>Hi guys,I am a little lost here, I am attempting to customize the look and feel of Alfresco, community version 4.0.b. It is installed via web quick start on a Ubuntu server and running with Postgres DB in a Tomcat environment. I need to use a Jar file to do this, rather than simply editing files in</description>
      <pubDate>Mon, 26 Mar 2012 06:32:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248429#M201559</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-03-26T06:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom share themes via a JAR file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248430#M201560</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;Please check out Mike Hatfield's post on the same thing, I'm sure this will help you: &lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/mikeh/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/mikeh/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bengrah&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 10:22:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248430#M201560</guid>
      <dc:creator>bengrah</dc:creator>
      <dc:date>2012-03-26T10:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom share themes via a JAR file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248431#M201561</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;SPAN&gt;you'll find a sample custom theme here: &lt;/SPAN&gt;&lt;A href="http://code.google.com/p/fme-alfresco-extensions/wiki/FmeTheme" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/fme-alfresco-extensions/wiki/FmeTheme&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;you may take a look into the code:&lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;svn checkout &lt;A href="http://fme-alfresco-extensions.googlecode.com/svn/trunk/fme%20Theme/" rel="nofollow noopener noreferrer"&gt;http://fme-alfresco-extensions.googlecode.com/svn/trunk/fme%20Theme/&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Cheers, Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 10:59:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248431#M201561</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2012-03-26T10:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom share themes via a JAR file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248432#M201562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi chrisokelly,&lt;BR /&gt;&lt;BR /&gt;Please check out Mike Hatfield's post on the same thing, I'm sure this will help you: &lt;A href="http://blogs.alfresco.com/wp/mikeh/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/mikeh/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;bengrah&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Bengrah, That's actually the most recent steps I followed, I downloaded Matt's sample code, changed instances of the name devcon and placed it where directed in that tutorial, then restarted the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have read through … and a good few web tutorials (&lt;A href="http://blogs.alfresco.com/wp/mikeh/2010" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/mikeh/2010&lt;/A&gt; … -jar-file/ being the most recent)&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 22:01:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248432#M201562</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-03-26T22:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom share themes via a JAR file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248433#M201563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;you'll find a sample custom theme here: &lt;A href="http://code.google.com/p/fme-alfresco-extensions/wiki/FmeTheme" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/fme-alfresco-extensions/wiki/FmeTheme&lt;/A&gt;&lt;BR /&gt;you may take a look into the code:&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;svn checkout &lt;A href="http://fme-alfresco-extensions.googlecode.com/svn/trunk/fme%20Theme/" rel="nofollow noopener noreferrer"&gt;http://fme-alfresco-extensions.googlecode.com/svn/trunk/fme%20Theme/&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;Cheers, Jan&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A million times thank you! Now we have an actual non-default theme applied, I can go about the far easier task of customizing that theme. Not sure what was different about this one from, for instance the Mike Hatfield tutorial but whatever it was worked &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 22:49:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-share-themes-via-a-jar-file/m-p/248433#M201563</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-03-26T22:49:28Z</dc:date>
    </item>
  </channel>
</rss>

