Go back to mobile site

 

Please note: The forums are currently intended for Kentico community. Although we monitor them time to time, we cannot guarantee a timely response. If you need a help with Kentico CMS, please feel free to send your message to support@kentico.com.

If you want to add new post or reply to post, please sign in.

Search: 

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
Kentico
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

1

Sitemap | Content Management System | E-commerce Software | Social Networking Software | Intranet | Online Marketing Solution | Copyright © 2004-2013 Kentico Software | Powered by Kentico CMS