The publish in all languages not present in contribute mode

  Written by The Jahia Team
 
Sysadmins
   Estimated reading time:
7.1.2.0
The publish in all languages is a feature not present by default in contribute mode.
Actually, this option is not enabled by default in the Publication Manager and in the content contextual menu as well in contribute mode.

Cause

This option is not visible as the contributors normally do not have to have access to this option.

Solution

This is possible to enable this option by adding the following Spring bean definition in the applicationcontext-custom.xml file:

 

<bean class="org.jahia.services.uicomponents.bean.toolbar.Menu">
    <property name="titleKey" value="label.publication"/>
    <!-- <property name="icon" value="publicationAction"/> -->
    <property name="items">
        <list>
            <ref bean="Toolbar.Item.PublishOne"/>
            <ref bean="Toolbar.Item.PublishInAllLanguages"/>
            <ref bean="Toolbar.Item.PublishAll"/>
            <ref bean="Toolbar.Item.PublishAllInAllLanguages"/>
            <ref bean="Toolbar.Item.PublishSite"/>
            <ref bean="Toolbar.Item.PublishSiteInAllLanguages"/>
            <ref bean="Toolbar.Item.Unpublish"/>
            <ref bean="Toolbar.Item.ViewPublishStatus"/>
            <ref bean="Toolbar.Item.PublicationManager"/>
        </list>