currently, the dvt_1.body template looks like this:
<xsl:template name="dvt_1.body"> <xsl:param name="Rows"/> <xsl:param name="FirstRow"/> <xsl:param name="LastRow"/> <xsl:for-each select="$Rows"> <xsl:variable name="KeepItemsTogether" select="false()"/> <xsl:variable name="HideGroupDetail" select="false()"/> <xsl:variable name="GroupStyle" select="'auto'"/> <xsl:if test="(position() >= $FirstRow and position() <= $LastRow) or $KeepItemsTogether"> <xsl:if test="not($HideGroupDetail)" ddwrt:cf_ignore="1"> <xsl:if test="@ID = $filterParam"> <tr style="display:{$GroupStyle}"> <td class="ms-vb"><xsl:value-of select="@Title"/></td> <td class="ms-vb"><xsl:value-of select="@Editor"/></td> <td class="ms-vb"><xsl:value-of select="ddwrt:FormatDate(string(@Modified), 1033, 5)"/></td> </tr> </xsl:if> </xsl:if> </xsl:if> </xsl:for-each> </xsl:template>
You need to add the code in bright red:
<xsl:template name="dvt_1.body"> <xsl:param name="Rows"/> <xsl:param name="FirstRow"/> <xsl:param name="LastRow"/> <xsl:for-each select="$Rows"> <xsl:variable name="KeepItemsTogether" select="false()"/> <xsl:variable name="HideGroupDetail" select="false()"/> <xsl:variable name="GroupStyle" select="'auto'"/> <xsl:if test="(position() >= $FirstRow and position() <= $LastRow) or $KeepItemsTogether"> <xsl:if test="not($HideGroupDetail)" ddwrt:cf_ignore="1"> <xsl:if test="@ID = $filterParam or $filterParam = 'All'"> <tr style="display:{$GroupStyle}"> <td class="ms-vb"><xsl:value-of select="@Title"/></td> <td class="ms-vb"><xsl:value-of select="@Editor"/></td> <td class="ms-vb"><xsl:value-of select="ddwrt:FormatDate(string(@Modified), 1033, 5)"/></td> </tr> </xsl:if> </xsl:if> </xsl:if> </xsl:for-each> </xsl:template>
20. Save the page and check it out in the browser.