01-09-2013 11:03 AM
How is the webview menu ordered in a webpage ? In the Document Management interface items are ordered alphabetically, but not in the web menu where it seams to be aleatory (?). Is it possible to set a specific order ?
Thanks for your answers,
Patrice
01-15-2013 10:16 AM
The code in org.nuxeo.webengine.sites.fragments.AllWebpageFragment
returns the list, in "default" order (which is mostly unpredictable). I agree that it should be sorted differently.
You can provide a new fragment with new code using:
<extension target="org.nuxeo.theme.services.ThemeService" point="fragments">
<fragment name="all webpages fragment">
<class>your.class.subclassing.AllWebpageFragment</class>
<model-type>webpage</model-type>
<dynamic>true</dynamic>
</fragment>
</extension>
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.