Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

Theme Editor

The theme editor from Chamlers is now integrated within Nuxeo 5.5 and it works with the JSF/Seam UI.
Unfortunately, it seems rather unstable and I could not create a new theme with it.

It seems templates define only layout of the whole application - and more specifically, the Document Management section. There seems not to be nested templates.

The editor basically is a graphical tool for editing the theme xml file:

Customizing a theme

These are the steps that I have found working for modifying the layout.

I downloaded the theme-galaxy.xml from the Theme Editor. This is the default theme.

I renamed it to theme-mytheme.xml and put it in the the resources/themes in the contribution project. There is the OSGI-INF/theme-contrib.xml as well where we specify:

First, I changed 

to<theme name="my_theme"as well as all references to "galaxy" in theme-contrib.xml.

As a result after deployment:

  • default theme was indeed changed to my_theme
  • layout was broken as galaxy.css was not included.   How do we point to the proper css?

So I returned "galaxy" as a name and it overrode the default galaxy team. The css was included and layout was fine.

Then I edited the theme-mytheme.xml adding the following (the second footer):

Then in the same file:

Links

http://doc.nuxeo.com/display/NXDOC/Theme

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.