AnsweredAssumed Answered

Alfresco Design customizing manual

Question asked by a.thakur on Jul 20, 2009
Latest reply on Jul 20, 2009 by gregorhamsfield
Editing the theme in Alfresco is not the hardest thing to do, yet it needs to be done properly because an upgrade could override your edited work. Because this has been documented but the documentation didn't work for me properly, I have decided to make this post for others who had problems during the creation of custom designs.

To start off with, i have made this 'manual' in steps, so it should be easy to follow it:

Step 1
Go to:

Here you will find a list with the current themes. Create a new folder and copy the content from an existing folder. Use a unique folder name; this will also become your theme name. The default folder does not contain the yui file, so copy it from one of the others. You can edit skin.css later.

Step 2
Go to the Shared folder outside your webapps folder:

Here you will find the web-extension folder. Open this and if it is empty, make a new folder. Call it site-data. Under site-data, create a new folder. Call it themes.

Under themes, create an XML file. Name the XML file identical to your created theme. These are the contents of the xml file:

<?xml version='1.0' encoding='UTF-8'?>
<title>VLC Theme</title>

Step 3
Go back to the root of this extension folder, web-extension

Create a new XML file here and call it: web-framework-config-custom.xml

Place the following code in this file:
  <config evaluator="string-compare" condition="WebFramework">
         <!– Application Defaults –>
            <!– slingshot region chrome override –>
            <!– no chrome required for components –>

Between the theme tags, you place your theme name.

Restart the server and run your Share. Your new design should be taken in use now.

Anand Thakur