<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.newsletter.userinterface.Newsletters"/> </large> <medium> [...] <control id="org.ametys.newsletter.userinterface.Newsletters"/> </medium> <small/> </group> [...] </groups> <tab> [...] <import>plugin:newsletter://cms-ribbon.xml</import> </tabs>
Please note! If the group contains a description <large>, <medium> and <small> button must be added to the 3.
Newsletters have their own workflow (draft, proposed, validated). The validation action sends the newsletter to subscribers.
Download the workflow description file for newsletters and copy it into the WEB-INF/param directory of your application.
Then modify the WEB-INF/param/workflows file .xml to add the reference to this file, using the name "newsletter", as shown below:
<workflows> <workflow name="content" type="file" location="workflow.xml"/> <workflow name="newsletter" type="file" location="workflow-newsletter.xml"/> <workflow name="blog" type="file" location="workflow-blog.xml"/> </workflows>