1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Edit blog post

Edit blog post

4 posts, 0 answered
  1. Carl-Johan
    Carl-Johan avatar
    4 posts
    Registered:
    14 May 2008
    27 Nov 2008
    Link to this post

    Hi,

    I’m trying to let a user have his/her own blog. How does the user add/edit/delete posts?

  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    27 Nov 2008
    Link to this post
    Hello Carl,

    I am not sure I fully understand your question. Do you mean that you want only the owner of the blog to see it? If it is so, then you should set flatOwnership attribute to False like this:

    web.config
    <blogs defaultGenericProvider="Blogs"
          <genericContentProviders> 
            <add providerName="Blogs" publicationDateField="Publication_Date" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" flatOwnership="True" /> 
          </genericContentProviders> 
    </blogs> 

    Also, you need to create a role (for example Bloggers), assign the users to this role and give it permissions to view, create and delete blogs. For details on this matter refer to our User Manual.

    Please describe in details if there is some misunderstanding.

    Greetings,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Carl-Johan
    Carl-Johan avatar
    4 posts
    Registered:
    14 May 2008
    27 Nov 2008
    Link to this post
    Well, what I’m trying to do is to let everyone of my users have their own blog. But I don’t understand how the user can edit his/her own blog without me giving them “access to the back”.
  4. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    28 Nov 2008
    Link to this post
    Hi Carl,

    Definitely, you should give the users access to the administration of the Blogs module. But all they will see is their own blog. To achieve this you should do the following:

    1. In the web.config set flatOwnership attribute to False.
    2. Go to Administration > Users tab.
    3. Create Bloggers role.
    4. Create user accounts and assign them to Bloggers role.
    4. Go to Modules > Blogs.
    5. Click the Permissions link in the left pane.
    6. Select Bloggers role in the dropdown list and define View, Create and Delete permissions for the users assigned to it.

    Hope you will find the provided information helpful.

    Regards,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered