Attention ! Si le groupe contient une description , et , il faut ajouter le bouton dans les 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>
<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>