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>
<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>
<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>