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 11933 time(s), 8 post(s) 14.03.2013 23:41:30by mnenvo2
mnenvo2

mnenvo2

14.03.2013 23:58:12
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
Dieser Inhalt wurde noch nicht bewertet. 
135 Reputation 15 Total posts
khorvat

khorvat

15.03.2013 10:00:29
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
mnenvo2

mnenvo2

15.03.2013 20:56:37
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?
Dieser Inhalt wurde noch nicht bewertet. 
135 Reputation 15 Total posts
mnenvo2

mnenvo2

15.03.2013 21:03:58
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)
Dieser Inhalt wurde noch nicht bewertet. 
135 Reputation 15 Total posts
mnenvo2

mnenvo2

15.03.2013 23:03:39
i updated to last monox version and it seems i cant get it to work, can i see and example of code?
Dieser Inhalt wurde noch nicht bewertet. 
135 Reputation 15 Total posts
mnenvo2

mnenvo2

15.03.2013 23:39:55
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
Dieser Inhalt wurde noch nicht bewertet. 
135 Reputation 15 Total posts
mnenvo2

mnenvo2

15.03.2013 23:55:53
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?
Dieser Inhalt wurde noch nicht bewertet. 
135 Reputation 15 Total posts
khorvat

khorvat

16.03.2013 07:42:20
Can you send us a screenshot and url that you are redirected to ?
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts