Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1018

Empty card in wizard when creating a news from FO side

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.0
    • 2.1.0
    • None
    • None
    • 4.4 RC2

      How to reproduce

      • From home catalog carousel, create a news
      • The 2nd card is empty

      The 2nd should not be present as we force template to page and content type news.

      Create page wizard is configured as following

      <xsl:with-param name="config">{
                                      "title": "<xsl:value-of select="ametys:escapeJS(ametys:translate(concat('skin.', $skin, ':SKIN_FO_ADD_ALERT_DIALOG_TITLE')))"/>",
                                      "force": true,
                                      "workflowInitActionId": "15", 
                                      "show-card-tags" : false,
                                      "show-card-content" : false, 
                                      "show-card-type" : false,  
                                      "default-pagetype" : "template",
                                      "default-template" : "page",
                                      "default-zone" : "default",
                                      "default-pagecontent-type" : "contenttype",
                                      "default-contenttype" :  "org.ametys.plugins.workspaces.Content.alert",
                                      "right-contenttype": "Plugin_Workspaces_Right_Alert_Create",
                                      "default-page-title" : "<xsl:value-of select="ametys:escapeJS(ametys:translate(concat('skin.', $skin, ':SKIN_FO_ADD_ALERT_DEFAULT_TITLE')))"/>",
                                      "default-contenttype-label" : "<xsl:value-of select="ametys:escapeJS(ametys:translate(concat('skin.', $skin, ':SKIN_FO_ADD_ALERT_CONTENT_TYPE_LABEL')))"/>",
                                      "pagecontent-service" : false}
                                      </xsl:with-param>
      

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: