logo       

Re: Tab ordering: msg#00296

cms.nuxeo.general

Subject: Re: Tab ordering

So I guess that it is not possible to have some form of rule that states that if
the document is of type X then the order is 15 else it is 50?

Similarly can you hide a tab for a particular document type? Can this done using
the 'filters' in the action-contrib?

Cheers.

Quoting Anahide Tchertchian <at-CQNGlVZ5l00AvxtiuMwx3w@xxxxxxxxxxxxxxxx>:

> Sean Radford a écrit :
> > So in my 'actions-contrib.xml' file I can just override single properties
> of
> > existing actions:
> >
> >
> > <extension target="org.nuxeo.ecm.actions.ActionService" point="actions">
> > <action id="view_comments" order="1" />
> > </extension>
> >
> > So the above would set the order of 'view_comments' to 1 and leave all
> other
> > attributes unchanged.
>
> Yes it will: actions support merging of properties. If you'd like to
> keep the document first tab unchanged (listing of the document
> properties or listing of the document content when it's a folder), you
> should put "15". "1" is ok if you'd like the comments to be the first
> tab on every commentable document.
>
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise