How to order the menu of a website (5.6)
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,
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>