CKS:EBE added column to post list

Topics: Enhanced Blog Edition
Aug 4, 2009 at 5:07 PM

I have added a column to the post list which contains text.  The problem is that I would like the text in this column to show up on the blog site home page below the post title and the data is not in the XML that is returned.  Once it is in the XML I can add it to the Postlist.XSL file.  I already have the values showing in the post.xsl.

How can I get additional columns that were added to the post list to be in the XML?  Can I edit the CAML query that returns the XML?

Thanks in advance for any help

Aug 12, 2009 at 3:45 PM
Edited Aug 12, 2009 at 3:45 PM

You open the theme that you select, and the the post.xsl 

Some code :

 

<xsl:value-of select="date:format-date($publishedDate, 'd-MMM-yy')"/>  
<br/>
Viewable:<xsl:value-of select="Viewable"/>  
<br/>
<xsl:value-of select="NumComments"/> Comments
&#160;|&#160; <a href="{$RelativeUrl}/_layouts/cks/ebe/Trackback.aspx?ID={ID}" rel="trackback">Trackback Url</a>
&#160;|&#160;<a href="{ebe:createPostUrl(PublishedDate, BlogTitleForUrl)}">

 

				<xsl:value-of select="date:format-date($publishedDate, 'd-MMM-yy')"/>  
			<br/>
<!-- this is MY field!!>
				MyField:<xsl:value-of select="MyFieldNameWithout#or@"/>  

			 <br/>
			<xsl:value-of select="NumComments"/> Comments
			&#160;|&#160; <a href="{$RelativeUrl}/_layouts/cks/ebe/Trackback.aspx?ID={ID}" rel="trackback">Trackback Url</a>
			&#160;|&#160;<a href="{ebe:createPostUrl(PublishedDate, BlogTitleForUrl)}">

 

 

 

Sep 29, 2009 at 1:11 AM
Edited Sep 29, 2009 at 1:11 AM

Hi,

I created a new column called: NumberOfComments and I cant get it visible :(

My code is like:

 

<a href="{ebe:createPostUrl(PublishedDate, BlogTitleForUrl)}">
<xsl:value-of select="NumberOfComments"/> Comment |<xsl:if test="NumberOfComments != 1">s</xsl:if>
</a>


My column type is a lookup, and shows only the # of "Approved" comments of my blog

Thanks for your help!!!

-E