Copied to clipboard

Flag this post as spam?

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


  • Rick 34 posts 83 karma points
    Nov 10, 2010 @ 23:09
    Rick
    0

    Site Share Content With Sibling Site

    I have an Umbraco instance running a couple sites as follows:

    Content Root:

    • Site 1
    • Site 2
    • Site 3

    Site 1 contains all the content that Site 2 needs. It just needs to be reskinned and new hostname applied for Site 2. From a content management side we don't want to duplicate content within Umbraco.

    Basically, Site1 would be the content manager of Site 2.

    What would be the best way of accomplishing this?

     

     

  • Duncan McDougall 35 posts 62 karma points
    Nov 11, 2010 @ 19:11
    Duncan McDougall
    0

    I would setup a doc type for a page in site 2 that copies content. A content picker field would be added selecting the node of content to copy. You should be able to access properties to spit out in your new templates from there. Sorry I can't provide any xslt for this. The pseudo(ish) code for a .Net control would be something along the lines of

    int siteOneNodeId = Convert.ToInt32(siteTwoNode.getProperty("siteOneNode").Value);
    Node siteOneNode = new Node(siteOneNodeId);
    bodyTextLiteral = siteOneNode.getProperty("bodyText").Value;

     

Please Sign in or register to post replies

Write your reply to:

Draft