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 )

11753 put(a) pogledan, 8 odgovor(a) 14.3.2013. 23:41:30Kreirao(la) mnenvo2
mnenvo2

mnenvo2

14.3.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
Ovaj sadržaj još nije ocijenjen. 
135 Reputacija 15 Ukupno objava
khorvat

khorvat

15.3.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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
mnenvo2

mnenvo2

15.3.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?
Ovaj sadržaj još nije ocijenjen. 
135 Reputacija 15 Ukupno objava
mnenvo2

mnenvo2

15.3.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)
Ovaj sadržaj još nije ocijenjen. 
135 Reputacija 15 Ukupno objava
mnenvo2

mnenvo2

15.3.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?
Ovaj sadržaj još nije ocijenjen. 
135 Reputacija 15 Ukupno objava
mnenvo2

mnenvo2

15.3.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
Ovaj sadržaj još nije ocijenjen. 
135 Reputacija 15 Ukupno objava
mnenvo2

mnenvo2

15.3.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?
Ovaj sadržaj još nije ocijenjen. 
135 Reputacija 15 Ukupno objava
khorvat

khorvat

16.3.2013. 7:42:20
Can you send us a screenshot and url that you are redirected to ?
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava