- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2012 07:04 AM
Hi,
I want to re-arrange, remove some cells from the default galaxy theme layout.
/>
What I've tried so far:
- I've created a customization project in an Eclipse Nuxeo-IDE environment.
- I've copied the themes folder from nuxeo-platform-webapp-core into the project's resources.
- 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.)
- I've kept the original theme name galaxy in document-management.xml (actually I haven't changed anything in my document-management.xml).
- 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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2012 03:05 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2012 08:27 AM
As a workaround you can (1) create a simple marketplace bundle (s.a) for the structural changes, (2) install it at your nuxeo instance and (3) create a new project and (4) use the IDE to hot-deploy styles and favors (s.a). This way you shouldn't be forced to recurrently create a new marketplace bundle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2012 08:30 AM
i have created a jira issue: https://jira.nuxeo.com/browse/NXIDE-170
i will test the workaround. thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2012 05:16 PM
Hello, I have a similar issue, but I am not using the hot deploy feature in Nuxeo IDE. I am doing a maven install and replacing the jar file into the nuxeo/nxserver/plugins directory and then running a ./nuxeoctl console from the terminal.
/>
I made some structural changes, for instance I deleted the footer, but when I deploy the change, the structure remains unchanged.
Here are the changes I made to the following files
META-INF/MANIFEST.MF
Manifest-Version: 1.0
Bundle-ManifestVersion: 1
Bundle-Name: cookbook-basic-bundle
Bundle-SymbolicName: org.nuxeo.cookbook.basic;singleton:=true
Bundle-Version: 0.0.1
Bundle-Vendor: Nuxeo
Nuxeo-Component: OSGI-INF/theme-contrib.xml
OSGI-INF/theme-contrib.xml
themes/document-management.xml
the only change I made here was removed the following lines
Any help is appreciated.
Thanks so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2012 03:55 AM
Check your typo in OSGI-INF/theme-contib.xml line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2012 11:49 AM
Edgar, my apologies, that was my typo here, not on the actual OSGI/theme-contrib.xml document
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2012 12:05 PM
You've referred to themes/document-management.xml in your theme-contrib.xml but you've applied changes to a themes/deployment-fragment.xml.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2012 02:21 PM
Do you really move the jar-file to the plugin subdir? Try the tomcat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2012 03:13 PM
yes i do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2012 07:45 AM
According to your manifest file I guess you've derived your project from this [documentation][1]. The plugin directory doesn't work for me (same results as in your case). Note, that I am working with a 5.6-SNAPSHOT and that the theme handling is currently a subject in change. Try to isolate the extension point 'themes'. Tweak the "lib/log4j.xml" for your needs (i.e.