Copied to clipboard

Flag this post as spam?

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


  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Oct 22, 2012 @ 09:55
    Dave Woestenborghs
    0

    Sharing content across multiple sites

    Hi

    I'm having the following structure in Umbraco

    - Content

    -- Homepage A
    ---- Location overview A
    -- Homepage B
    ---- Location overview B
    -- Homepage C
    ---- Location Overview C
    -- Data (container node)
    ---- Locations
    ------ Location A
    ------ Location B
    ------ Location C
    ------ Location D
    ------ Location E
    On the location overview pages I want to display the locations which I read from the locations in the data container node. 
    I have a problem with displaying the location detail pages. The url's should be unique for each site.
    The only solution I see is creating sort of a pointer doctype that can be created on under the location overview page that points to a location in the data container node.(maybe with an eventhandler when someone creates a location in the container node)
    Anyone got a better idea ?
    Dave

  • Stephen 767 posts 2273 karma points c-trib
    Oct 22, 2012 @ 12:29
    Stephen
    0

    Would url rewriting be a solution? Eg rewrite //domain-a/location-d to /data/locations/location-d?

    But then you'd be using the same template for each location-d pages, which might not be what you want.

    Another try:

    Create a single "location" page under "homepage-a" then use url-rewriting to rewrite //domain-a/location-d to //domain-a/location?loc=location-d. Then in your macro code you can fetch the node corresponding to location-d.

Please Sign in or register to post replies

Write your reply to:

Draft