Hi,
I'm having some issues with translating the EPiServer.Community.Blog to various languages. Specifically the code reflected below:
internal static EPiServer.Community.Blog.Blog CreateBlog(EPiServer.Community.MyPage.MyPage mp){ return BlogHandler.AddBlog(new EPiServer.Community.Blog.Blog("MyPage Blog for User '" + mp.User.Alias + "'", mp.Site, new UserAuthor(mp.User)));}Is this really the correct way to set a default name for a blog? ;)
Hi Kristian,
I agree that maybe the name that is set as default is not the best. However you could subscribe to the BlogAdded event in BlogHandler and do an update of the name.
Best regards,Tom
Hi,
I'm having some issues with translating the EPiServer.Community.Blog to various languages. Specifically the code reflected below: