Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Show Blog Post with Blog & Category Name. View modes: 
User avatar
Member
Member
mukesh.laxkar-octalsoftware - 3/13/2012 1:39:26 AM
   
Show Blog Post with Blog & Category Name.
Hi,

I was create a page to show blog post according to category && i used repeater & passed following query in where condition to filter data of selected category

({%categoryid|(toint)%} = 0) OR (DocumentID IN (SELECT DocumentID FROM CMS_DocumentCategory WHERE CategoryID = {%categoryid|(toint)%})) OR (DocumentID IN (SELECT DocumentID FROM CMS_DocumentCategory WHERE CategoryID IN (SELECT CategoryID FROM CMS_Category WHERE CategoryID = {%categoryid|(toint)%})))

all was going perfect.

but now i want to show blog name and category name with blog post relevant that blog post.

how can it possible?????

thanks

User avatar
Kentico Support
Kentico Support
kentico_janh - 3/14/2012 7:05:48 AM
   
RE:Show Blog Post with Blog & Category Name.
Hello,

You probably display blogposts through the repeater web part and a transformation, so you need to add your own function to the transformation, which selects the category name according to a current DocumentID.

Best regards,
Jan Hermann