Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeroen Kruis 2 posts 20 karma points
    Jul 28, 2009 @ 14:55
    Jeroen Kruis
    0

    multiple sites with shared content

    I want to run multiple sites with shared content in such a way that upon creation of a page, the user can choose which sites the page should belong to. There should also be "lesser" users who can only add to a subset of those sites.

    Can anyone point me to information on how to do that or point me in the right direction?
    Thanks in advance.

  • Bert 128 posts 251 karma points
    Jul 28, 2009 @ 15:07
    Bert
    0

    One Umbraco installation:

    - Content

    -- Site 1

    -- Site 2

    -- Site 3

    ...

     

    Target your site url to the site 1, 2, 3 ... nodes.

    Make users that can edit specific parts.

    Copy content between sites

    ... it's all in umbraco :)

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jul 28, 2009 @ 18:21
    Morten Bock
    0

    Could you elaborate a bit on which type of content your want to share?

    Do you want the pages to be copied to x number of sites, so they alle get separate urls, or do you want single source so the sites just fetch content from a common repository?

    There are probably as many approaches as there are people, but one way might be to do it by using events. Something like this

    1. Create your doctype for the common content
    2. add a datatype where you can select which sites to add it to.
    3. Write an eventhandler that checks which site have been chosen, check if the user has permissions for those, and then publish (or copy document to other sites)

    If it is just one type of content, like new items, then you can just have a macro on each site, that loops through the shared content looking for new items with the current site selected.

    Does this make sense?

  • Jeroen Kruis 2 posts 20 karma points
    Aug 01, 2009 @ 23:08
    Jeroen Kruis
    0

    (sorry for the late reply, busy times)
    Thanks for your answers! That looks like helpful information.

    The types of content are at least pages and images (in a gallery), but possibly more.
    The only thing that is totally unclear to me is how I can present a list of sites to publish to, and only show those sites that users have permissions for. I wouldn't want to show 10 sites to a user that has access to only 1.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies