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

Forums / Developing with Sitefinity / Cross Site Forums and Blogs

Cross Site Forums and Blogs

3 posts, 0 answered
  1. Matt
    Matt avatar
    1 posts
    Registered:
    19 Jun 2007
    07 Nov 2008
    Link to this post
    I am currently using Sitefinity as the base platform for rolling out a new product.  I will potentially have n... sites (one for each client subscribing to the service).  I would like to have some common Forums and Blogs that can be utilized across multiple Sitefinity sites.  Forms security is being used in this case and I'm assuming that may be a problem with users being stored locally to their Sitefinity instance.

    Has anyone done this?  What would be the best practice suggestions?
  2. John
    John avatar
    32 posts
    Registered:
    08 Oct 2008
    07 Nov 2008
    Link to this post
    Hey Matt,

    Not sure about the forums (it is not generic content based), but the blogs and module is using the ASP.NET 2.0 provider model, so you can share blogs between multiple websites. Simply copy the blogs provider and point to to the connection string property to the other website. Adding Providers in the User Manual has more info on this. Since its generic content based, the blogs module and the news module steps for the providers are the same.

    ~John




  3. Slavo
    Slavo avatar
    295 posts
    Registered:
    24 Sep 2012
    10 Nov 2008
    Link to this post
    Hello John,

    Thank you for contacting us and choosing our product to implement your scenario.

    As John mentioned, all modules in the CMS use the ASP.NET provider model. They all allow setting up more than one data provider which may be the default one, or one you write yourself. The provider for each module is the point of contact with the database, so if you develop your provider you can use a totally different database - the one from your site or from another one.
    The tricky point in your scenario would be membership - authentication and authorization of users. The Blogs module wouldn't have public users so you're only interested in managing membership of the CMS users that would author posts and blogs. The Forums module however would need public user management. If you want shared Blogs and Forums between several sites, you would need to decide what data store you would use for module data and membership data. You need a single store per module data provider, and a single one for membership, so you have to set up all your sites to use one and the same blog/forum provider.
    Additionally there is the concept of membership providers. With Forums you have two options:
    • Use the same membership provider (data store) for public and admin users
    • Use different membership provider for public and admin users.
    Whatever option you choose, the important thing is to configure all your sites to use a single provider for each module and membership case.

    Additionally, the Blogs module is based on the Generic Content module, which provides common functionality like tagging, categories, filtering and metadata. The Forums module is not based on it, so have that in mind. We have plans to rework the Forums module for the next major version to also use Generic Content functionality.
    Additional resources for providers, Generic Content, Forums and Blogs you can find in our Developer Manual at the following links:

    http://www.sitefinity.com/help/developer-manual/provider-model.html
    http://www.sitefinity.com/help/developer-manual/generic-content-based-overview.html
    http://www.sitefinity.com/help/developer-manual/overview.html
    http://www.sitefinity.com/help/developer-manual/implementing-multiple-membership-providers.html

    I hope I was able to answer your question thoroughly. If you have any other issues, don't hesitate to contact us again.

    Best wishes,
    Slavo
    the Telerik team

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