Integration manual v1.3.0, v1.4.0


Installation

  • Stop the server
  • Download jars from plugin and add them (ametys-plugin-link-directory-1.1.0.jar and ametys- plugin-link-directory-resources-1.1.0.jar) to your application's WEB-INF/lib directory. Ametys
  • Add a button to open the Directory tool in the WEB-INF/params/cms-ribbon-default.xml. The button identifier is org.ametys.plugins.linkdirectory.LinkDirectory.
    We recommend adding it to the Home tab, in the "Tools" group.
     

     

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

  • In the same file, import the ribbon file specific to the Data Source tool 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