<tabs> <tab label="RIBBON_TABS_TAB_HOME_LABEL"> <groups> [...] <group label="RIBBON_TABS_TAB_HOME_GROUPS_GROUP_ADVANCED_TOOL_LABEL" icon=""> <large> [...] <control id="org.ametys.plugins.ugc.Search"/> </large> <medium> [...] <control id="org.ametys.plugins.ugc.Search"/> </medium> <small/> </group> [...] </groups> <tab> [...] <import>plugin:survey://cms-ribbon.xml</import> </tabs>
Please note! If the group contains a description , and , the button must be added to the 3.
cms-ribbon-simple-default.xml Edit ribbon configuration for visitors
workflow-ugc.xml workflow file for UGC content
Modify the file WEB-INF/param/workflows.xml to add the reference to the new workflow "workflow-ugc.xml":
<workflows> <workflow name="content" type="file" location="workflow.xml"/> <workflow name="newsletter" type="file" location="workflow-newsletter.xml"/> <workflow name="ugc" type="file" location="workflow-ugc.xml"/> </workflows>