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

If empty, the article abstract must consist of the first lines of the content

      If the article abstract is empty, in content aggregation, the abstract must consist of the first lines of the content

          [CMS-1735] If empty, the article abstract must consist of the first lines of the content

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Nicolas Gavalda (Inactive) made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Assignee New: Nicolas Gavalda [ ngavalda ]

          Create a XSL helper :

          <!-- Keeps whole word, 
               adds breakline to each paragraphs and titles (p, h1, h2, ..), 
               removes images and styles (strong, i, ...)-->
          <xsl:template name="troncate">
              <xsl:param name="content"/>
              <xsl:param name="length"/>
              
              <!-- // ... -->
          </xsl:template>
          
          

          Laurence Aumeunier added a comment - Create a XSL helper : <!-- Keeps whole word, adds breakline to each paragraphs and titles (p, h1, h2, ..), removes images and styles (strong, i, ...)--> < xsl:template name= "troncate" > < xsl:param name= "content" /> < xsl:param name= "length" /> <!-- // ... --> </ xsl:template >
          Laurence Aumeunier made changes -
          Link New: This issue duplicates CMS-470 [ CMS-470 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 3.2 [ 10330 ]
          Fix Version/s Original: 3.LATER [ 10121 ]
          Nicolas Gavalda (Inactive) made changes -
          Assignee Original: Nicolas Gavalda [ ngavalda ]
          Fix Version/s New: 3.LATER [ 10121 ]
          Fix Version/s Original: 3.1 [ 10251 ]
          Fix Version/s Original: 3.0.1 [ 10270 ]
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Laurence Aumeunier made changes -
          Assignee New: Nicolas Gavalda [ ngavalda ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 3.0.1 [ 10270 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 3.1 [ 10251 ]
          Fix Version/s Original: 3.0 [ 10146 ]

            ngavalda Nicolas Gavalda (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: