Integration manual v1.3.0, v1.4.0


Installation

  • Stop the server
  • Télécharger les jars du plugin et ajouter-les (ametys-plugin-link-directory-1.1.0.jar et ametys-plugin-link-directory-resources-1.1.0.jar) dans le répertoire WEB-INF/lib de votre application Ametys
  • Ajouter le bouton permettant d'ouvrir l'outil Annuaire dans le fichier WEB-INF/params/cms-ribbon-default.xml. The button identifier is org.ametys.plugins.linkdirectory.LinkDirectory.
    Il est conseillé de l'ajouter dans l'onglet Accueil, dans le groupe "Outils"
     

     

    Please note! If the group contains a description , and , the button must be added to the 3.

  • Dans ce même fichier, importer le fichier de ribbon propre à l'outil Source de données plugin:link-directory://cms-ribbon.xml

    <tabs>
        <tab label="RIBBON_TABS_TAB_HOME_LABEL">
            <groups>
                [...]
                <group label="RIBBON_TABS_TAB_HOME_GROUPS_GROUP_TOOL_LABEL" icon="">
                    <large>
                        [...]
                        <control id="org.ametys.plugins.linkdirectory.LinkDirectory"/>
                    </large>
                    <medium>
                        [...]
                        <control id="org.ametys.plugins.linkdirectory.LinkDirectory"/>
                    </medium>
                    <small/>
                </group>
                [...]
            </groups>
        <tab>
        [...]
    
        <!-- Link directory -->
        <import>plugin:link-directory://cms-ribbon.xml</import>
    </tabs>
    
    
  • Restart the server
Back to top

Link directory