cancel
Showing results for 
Search instead for 
Did you mean: 

Icons on the user center tabs

pmbroca_
Champ on-the-rise
Champ on-the-rise

Hello!
/> Since the migration from Nuxeo 5.8 to Nuxeo 6.0 I don't have icons on the tabs of the user center.
/> What my User center looks like now
/> I add new entry in the user center it like this:

<action id="UABDF" link="/incl/view_ua_config.xhtml" label="Configuration des UA"
	icon="/icons/gear_information.png" order="260">
	<category>USER_CENTER</category>
	<filter-id>not_anonymous</filter-id>
	<filter-id>hasConfigurationRights</filter-id>
</action>

There is no problem with the path of the icon.
/> I find this in collections-actions-contrib.xml from Nuxeo code source and it looks like my action contrib:

<action id="Collections" link="/user_center_fragment.xhtml" label="user.center.collections"
  order="80" icon="/icons/collection_tab.png">
  <category>USER_CENTER</category>
  <properties>
    <property name="alwaysDisplaySubTabs">true</property>
  </properties>
  <filter-id>not_anonymous</filter-id>
</action>

Can anyone help me please ?

1 ACCEPTED ANSWER

pmbroca_
Champ on-the-rise
Champ on-the-rise

Found it !
/> I redefined the widget "hometabs" in a widget-contrib.xml and remove the action display "links" which displays only the text.

<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
		point="widgets">

		<widget name="homeTabs" type="tabs">
	      <properties mode="view">
	        <property name="addForm">true</property>
	        <property name="useAjaxForm">#{useAjaxTabs}</property>
	        <property name="category">USER_CENTER</property>
	        <property name="actions">#{userCenterViews.availableActions}</property>
	        <property name="currentTabAction">#{userCenterViews.currentView}</property>
	        <property name="overallDisplay">vertical_block</property>
	      </properties>
	    </widget>
</extension>

View answer in original post

1 REPLY 1

pmbroca_
Champ on-the-rise
Champ on-the-rise

Found it !
/> I redefined the widget "hometabs" in a widget-contrib.xml and remove the action display "links" which displays only the text.

<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
		point="widgets">

		<widget name="homeTabs" type="tabs">
	      <properties mode="view">
	        <property name="addForm">true</property>
	        <property name="useAjaxForm">#{useAjaxTabs}</property>
	        <property name="category">USER_CENTER</property>
	        <property name="actions">#{userCenterViews.availableActions}</property>
	        <property name="currentTabAction">#{userCenterViews.currentView}</property>
	        <property name="overallDisplay">vertical_block</property>
	      </properties>
	    </widget>
</extension>
Getting started

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.