Mono Support Sorting Blog Posts (Closed)

Viewed 12920 time(s), 5 post(s), 4/18/2012 12:37:29 PM - by HüseyinDursun
4/18/2012 12:37:29 PM
450 Reputation 66 Total posts

Hi,

I'm using blog as categories to give information about specific topics. Is it possible to sort blog posts alphabetically (by title)?

Thanks...

1
4/19/2012 10:08:53 AM
1849 Reputation 181 Total posts

Hi,

You can try do it by following these steps:

- create your BlogRepository class by inheriting the MonoX BlogRepository

- override the GetBlogPosts method in BlogRepository and set the sorter as you wish

- create your BlogPostList control by inheriting the MonoX BlogPostList control

- override the BindData method in BlogPostList and call your BlogRepository -> GetBlogPosts method to fetch the blog posts

- create your BlogContainer control by inheriting the MonoX BlogPostList and change in the mark-up MonoX BlogPostList control your BlogPostList control

- go to Blog page and change the MonoX BlogContainer control with your BlogContainer control

Let me know is this approach suits you.

Regards

2
4/19/2012 12:23:05 PM
450 Reputation 66 Total posts

Hi,

I don't know any programming landuage. So It is really difficult for me to do these steps.

I have more than 200 blog posts on my website. If there is a way by changing some ceratin codes on certain pages (e.g. Blog.aspx), I can change the codes. Otherwise I will let it stay unchanged.

Thanks for your help..

3
4/19/2012 12:38:17 PM
1849 Reputation 181 Total posts

Hi,

This cannot be done without extending. We can offer you a custom development service and implement these changes for you.

Regards.

4
4/19/2012 12:40:42 PM
450 Reputation 66 Total posts

OK, thanks..

5
This is a demo site for MonoX. Please visit Mono Software for more info.