cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo 5.5: How can I apply structural changes to the default galaxy theme layout?

Edgar_
Confirmed Champ
Confirmed Champ

Hi,

I want to re-arrange, remove some cells from the default galaxy theme layout.
/> What I've tried so far:

  1. I've created a customization project in an Eclipse Nuxeo-IDE environment.
  2. I've copied the themes folder from nuxeo-platform-webapp-core into the project's resources.
  3. I've created a theme-contrib.xml in OSGI-INF with a theme extension point referring my project's themes/document-management.xml (s.b.)
  4. I've kept the original theme name galaxy in document-management.xml (actually I haven't changed anything in my document-management.xml).
  5. Until now I haven't created a project jar-file, instead I've used the hot-deploy mechanism of the Nuxeo-IDE debug environment to apply 'structural' changes to the default theme.

After hot-deploy Nuxeo-DM appeared without styling AND without applying my document-management.xml (indeed Nuxeo continued to use the theme from nuxeo-webengine-site?) and I've gotten following warnings/errors:

[..]
/> 2012-05-15 10:18:51,680 DEBUG [org.nuxeo.runtime.osgi.OSGiRuntimeService] Bundle: nuxeo-customization components: OSGI-INF/theme-contrib.xml
/> 2012-05-15 10:18:51,680 DEBUG [org.nuxeo.runtime.osgi.OSGiRuntimeService] Loading component for: nuxeo-customization path: OSGI-INF/theme-contrib.xml url: file:/D:/workspace_nuxeo/nuxeo-customization/bin/main/OSGI-INF/theme-contrib.xml
/> 2012-05-15 10:19:18,797 WARN [org.nuxeo.theme.html.ui.ThemeStyles] Could not resolve theme descriptor for name 'galaxy'
/> 2012-05-15 10:19:20,427 ERROR [org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler] javax.servlet.ServletException: java.io.IOException: Theme not found: galaxy at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:137)
/> [..]

Any help would be appreciated Thanks

My theme-contrib.xml:
/> <?xml version="1.0"?>
/> <component name="org.mycompany.theme.nuxeo.default">
/> <require>org.nuxeo.theme.nuxeo.default</require>
/> <extension target="org.nuxeo.theme.services.ThemeService" point="themes">
/> <theme><src>themes/document-management.xml</src></theme>
/> </extension>
/> </component>

1 ACCEPTED ANSWER

Edgar_
Confirmed Champ
Confirmed Champ

Hi,

this seems to be a problem with the hot-deploy mechanism in the Nuxeo-IDE. After creating a marketplace bundle link text and installing it at my local nuxeo instance, structural changes to the galaxy theme layout have been applied.

Regards.

View answer in original post

18 REPLIES 18

Lise_Kemen
Star Contributor
Star Contributor

Hello,

I can't see anything bad in your description, but i'm not an expert on Nuxeo IDE, it is still a young tool.

Is it possible to upload your .jar in the following link ?

http://demo.nuxeo.com/nuxeo/nxdoc/default/fdfb4623-503f-4701-9fbc-65533cb772f5/view_documents?tabIds...

It will be easier for us to test it and check directly what is wrong without wasting your time.

Thanks

Hmmmh..?

You can use the default account 'Administrator

Yes, i forgot to mention it, it is the default user account. My bad, sorry for that.

Thanks, upload done.

yayo_
Confirmed Champ
Confirmed Champ

hi have the same problem... have you tested the bundle and found the problem? Thank you

Edgar_
Confirmed Champ
Confirmed Champ

Hi,

this seems to be a problem with the hot-deploy mechanism in the Nuxeo-IDE. After creating a marketplace bundle link text and installing it at my local nuxeo instance, structural changes to the galaxy theme layout have been applied.

Regards.

yayo_
Confirmed Champ
Confirmed Champ

how can i open a bug about this nuxeo-ide hot-deploy issue? My customization are simple and don't require a marketplace bundle.

Thank you

You can fill a bug report for the IDE at following place https