MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Show blogPostList for a specifc Categroy  (Mono Support )

Viewed 14402 time(s), 9 post(s) 3/2/2012 4:39:51 PMby sam0864
sam0864

sam0864

3/2/2012 4:39:51 PM

The dashboard page shows Blog Post list. Is it possible to limit to specific Category?

<MonoX:BlogPostList ID="ctlBlogPostList" RetainBreaksInDescription="false" CacheDuration="600" RewritePageTitle="false" Template="BlogListShort" runat="server" RssEnabled="true" IsHeaderVisible="False" MaxDescriptionChars="90" PageSize="4" MaxTitleChars="40" PagingEnabled="false" />
This content has not been rated yet. 
656 Reputation 79 Total posts
khorvat

khorvat

3/2/2012 7:33:09 PM
Hi,

you can set CategoryId property of the BlogPostList to filter only specific category. 

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
sam0864

sam0864

3/4/2012 11:41:36 PM
Yes, it is working for one Category. Is it possible to show Blog Post List for a list of categories (for example Category A and Category B)?
This content has not been rated yet. 
656 Reputation 79 Total posts
sam0864

sam0864

3/4/2012 11:45:51 PM
The same way, I would like to show the newest 5 topic titles (from the main discussion board) and limit the topic title size to 100 chars.
This content has not been rated yet. 
656 Reputation 79 Total posts
sam0864

sam0864

3/6/2012 7:37:50 PM
Any tips or advice

I would like to do the same thing and show the newest topic titles only regardless which discussion boards (similar to what we have for blogpostlist)
This content has not been rated yet. 
656 Reputation 79 Total posts
imarusic

imarusic

3/8/2012 1:06:05 PM
Hi,

at the moment blog post list allows you to filter the blog posts only by one category.

Regards.
This content has not been rated yet. 
3016 Reputation 428 Total posts
sam0864

sam0864

3/8/2012 3:00:20 PM
Any hint regarding displaying discussion board new topic titles list? Is it doable?
Can I have a similar code like this one but in this case for Discussion board top titles list?
<MonoX:BlogPostList ID="ctlBlogPostList"
RetainBreaksInDescription="false" CacheDuration="600"
RewritePageTitle="false" Template="BlogListShort" runat="server"
RssEnabled="true" IsHeaderVisible="False" MaxDescriptionChars="90"
PageSize="4" MaxTitleChars="40" PagingEnabled="false" />
This content has not been rated yet. 
656 Reputation 79 Total posts
denis

denis

3/13/2012 2:45:52 PM
It is doable, but requires some programming - you would have to develop your own Web part to do that. So if you feel that this approach is right for you, we could provide you with some sample code.
This content has not been rated yet. 
7207 Reputation 956 Total posts
sam0864

sam0864

3/13/2012 4:04:06 PM
Would you please provide me with a sample code so I can start from there
Thank you
This content has not been rated yet. 
656 Reputation 79 Total posts