As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I would like to reorder tabs : Publish and Relations tabs on the far right. Anybody knows the simpliest way ? Thanks Corinne
Hi Corinne,
I'm new to Nuxeo, so hopefully I have not misunderstood your question. If someone knows of a better approach ('simplest way') please let me know.
I think you are talking about the tabs as shown here:
There are two action tabs: TAB_RELATIONS and TAB_PUBLISH
TAB_RELATIONS and TAB_PUBLISH
There is also an order number associated with each.
By default these numbers are 55 and 53.
In Studio, I added the following under Advanced Settings->XML Extensions, swapping the order numbers.
<require>org.nuxeo.ecm.platform.actions</require> <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions"> <action id="TAB_PUBLISH" link="/incl/tabs/document_publish.xhtml" order="55" label="action.publish.content" icon="/icons/file.gif" type="rest_document_link"> <category>VIEW_ACTION_LIST</category> <filter-id>publish_document</filter-id> <filter-id>mutable_document</filter-id> </action> <action id="TAB_RELATIONS" link="/incl/tabs/document_relations.xhtml" enabled="true" label="action.view.relations" order="53" type="rest_document_link"> <category>VIEW_ACTION_LIST</category> <filter id="view_relations"> <rule grant="true"> <permission>Read</permission> </rule> <rule grant="false"> <facet>Folderish</facet> </rule> <rule grant="false"> <type>Server</type> </rule> </filter> </action> </extension>
After doing that, I see:
So, the tabs are swapped/reordered. But maybe you are asking instead how to push both these tabs to the far right? The right-most displayed tab is TAB_MANAGE and it has an order number of 240.
TAB_MANAGE
Changing the settings for the order values for TAB_PUBLISH and TAB_RELATIONS to 305 and 310, I get the following:
TAB_PUBLISH and TAB_RELATIONS