Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-1187

Ribbon button for creating a single Content

XMLWordPrintable

      Declaration may be as following:

          	<extensions>
          		<extension id="org.ametys.cms.createcontent" 
          				   point="org.ametys.cms.workspace.ribbon.RibbonControlsManager" 
          				   class="org.ametys.cms.clientsideelement.CreateContentMenu">
      				<action class="org.ametys.cms.ribbon.button.Menu">
      					<param name="label" i18n="true">PLUGINS_CMS_CONTENT_CREATECONTENTMENU_LABEL</param>
      					<param name="default-description" i18n="true">PLUGINS_CMS_CONTENT_CREATECONTENTMENU_DESCRIPTION</param>
      					<param name="icon-small" file="true">img/content/page_16.gif</param>
      					<param name="icon-medium" file="true">img/content/page_32.gif</param>
      					<param name="icon-large" file="true">img/content/page_50.gif</param>
      
      					<param name="content-actions">org.ametys.cms.buttons.content.CreateContentAction</param>
      					
      					<param name="workflowInitActionId">1</param>
      					<param name="workflow-workflowName">content</param>
      					<param name="workflow-org.ametys.web.workflow.CreateContentFunction$contentLanguage">fr</param> <!-- FIXME hardcoded -->
      				</action>
      				<scripts>
      					<file>js/org/ametys/cms/ribbon/button/Menu.js</file>
      					<file>js/org/ametys/cms/buttons/content/CreateContentAction.js</file>
      				</scripts>
      				<css>
      					<file>css/dialogbox.css</file>
      				</css>
          		</extension>
          	</extensions>
      

            Unassigned Unassigned
            cedric Cédric Damioli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: