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.

How to set a specific blod to show with the blog webpart(blogcontainer)?  (Mono Support )

Viewed 10103 time(s), 8 post(s) 3/14/2013 11:41:30 PMby mnenvo2
mnenvo2

mnenvo2

3/14/2013 11:58:12 PM
Hello everyone,
As a replacement of a public wall, I thought a blog would be useful. However, I need to initialize this blogcontainer with the proper content, which should be related to the profile people are trying to access, so my question is:Is there a way to tell the blogcontainer webpart to only load the post of a specific blog?

I appreciate your help
This content has not been rated yet. 
135 Reputation 15 Total posts
khorvat

khorvat

3/15/2013 10:00:29 AM
Hi,

you can use the "BlogSlug" property of BlogContainer (Blog) WebPart which will automatically load the post for only Blog that has that unique slug.

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

mnenvo2

3/15/2013 8:56:37 PM
but it doesnt work with the admin menu of monox(MonoX v4.7.40.4136), does it have to be on the page_load function of the web form that is using it?
This content has not been rated yet. 
135 Reputation 15 Total posts
mnenvo2

mnenvo2

3/15/2013 9:03:58 PM
This is a screenshot im using MonoX example blog slug name but i still get the post of all blog(this is from a fresh install not the actual project)
This content has not been rated yet. 
135 Reputation 15 Total posts
mnenvo2

mnenvo2

3/15/2013 11:03:39 PM
i updated to last monox version and it seems i cant get it to work, can i see and example of code?
This content has not been rated yet. 
135 Reputation 15 Total posts
mnenvo2

mnenvo2

3/15/2013 11:39:55 PM
i got it to work it seems its not the blogcontainer blogslug which u need to set its the BlogContainer.BlogPostListControl.BlogSlug string that u need to set or at least that worked with me, also tried databind on blogcontainer but it didnt work either
This content has not been rated yet. 
135 Reputation 15 Total posts
mnenvo2

mnenvo2

3/15/2013 11:55:53 PM
Now i have a new problem, you can write comments to a blog as a unregistered user while in the blog page but when i insert the blogcontainer control to a custom form when i try to comment as a unregistered user it send me to the Unknown user page why is that? do i need to the a flag in the control?
This content has not been rated yet. 
135 Reputation 15 Total posts
khorvat

khorvat

3/16/2013 7:42:20 AM
Can you send us a screenshot and url that you are redirected to ?
This content has not been rated yet. 
15993 Reputation 2214 Total posts