Expanded Fisrt Post in CKS:EBE

Topics: Enhanced Blog Edition
Oct 8, 2008 at 3:04 PM
Has anyone developed a theme for CKS:EBE that shows the entirety of the latest post first on the homepage and then shows the summary (list) of other recent posts below that?

David
Developer
Oct 13, 2008 at 9:35 PM
David,

You would need to change the XSL...look at 'postList.xsl' in your theme.

The code..

   <xsl:choose>
    <xsl:when test="$TrimPostBodyOnLists = 'True'" ><xsl:value-of select="substring($pureText, 0, 250)" disable-output-escaping="yes" />...</xsl:when>
    <xsl:otherwise><xsl:value-of select="Body" disable-output-escaping="yes"/></xsl:otherwise>
   </xsl:choose>

Selects what to show and so you would need to change the first test to also look for position() != 1

This would only display the first post in its entirety.

The problem would be that this is used by all pages which lists posts (Months, Categories, etc). You would probably need to create a homePostList.xsl and change Home.aspx to use this XSL.

HTH, Vince