cancel
Showing results for 
Search instead for 
Did you mean: 
boumbh
Champ in-the-making
Champ in-the-making

Darulez 14:48, 20 February 2009 (UTC)

hello, I try to follow those quick notes in order to update my theme, but this is really not clear. Do you plan to give us more information on how to change the theme.


Default Theme


The information is completely incorrect.  The folders and file name referenced in the default theme section do not exist.  Can we get an update to this?
web-framework-config-application.xml does not exist anywhere.
alfresco/web-extension/site-data/theme folder does not exist.


Default Theme workaround


I managed to set the default theme on alfresco share 4.2.f by re-defining site-configuration in web-extension/share-config-custom.xml:

<alfresco-config>
  <!-- Apply custom theme -->
  <config evaluator='string-compare' condition='WebFramework'>
    <web-framework>
      <defaults>
        <site-configuration>custom.site.configuration</site-configuration>
        <theme>customTheme</theme>
      </defaults>
    </web-framework>
  </config>
</alfresco-config>

Then in web-extension/site-data/configurations/custom.site.configuration.xml:

<configuration>
  <name>Custom Project</name>
  <description>Custom Project</description>
  <source-id>site</source-id>
  <properties>
    <theme>customTheme</theme>
    <root-page>site-index</root-page>
  </properties>
</configuration>

I spent a whole day on this, I’m too tired to tidy up (maybe it is possible to just void the site-configuration property ?) Boumbh (talk) 01:00, 27 May 2014 (BST)