Copied to clipboard

Flag this post as spam?

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


  • Matthew Cymbalak 1 post 21 karma points
    Jan 29, 2021 @ 04:01
    Matthew Cymbalak
    0

    Traversing nodes across different site and cultures

    Hello, TIA for advice and suggestions.

    We have two sites - each with own domain - running on one instance of Umbraco (v8).

    Site A has language en-US only (no defined hostnames/cultures for the other language variants) and Site B also has en-US and several languages each assigned a URI segment.

    These are different country sites under the same domain (example.com/hk and example.com/sg)

    We have built into the web UI an ability to navigate between sites. So can use methods like Umbraco.ContentAtRoot() and Model.Root().Siblings to go from Site A to/from Site B in en-US without trouble.

    But when the current culture is a non en-US language variant, both those methods can only see Site B in that culture.

    We need to, from a non en-US culture on a page on Site B, be able to look for a node located on Site A.

    I cannot see any method or technique to specify the culture - eg Umbraco.ContentAtRoot(string Culture) or a method that accesses the nodes of all and any cultures.

  • 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