Sunday, April 3, 2011

Setting start node in a umbraco website

Hi.

I have this content structure for a multi language site.

  • Content
    • Danish
      • Forside
      • Om os
    • English
      • Frontpage
      • About Us

When I start the website it automatically starts in the Danish-node, but I want it to start in "Forside", and as for the english part of the side I want it to start in the node "Frontpage".

The nodes "Danish" and "English" are page nodes as well, but are only there as a logical folder structure.

Is there any way I can choose which content node my website should start at?

From stackoverflow
  • There is a way in umbraco for it to support globalization out of the box. You wont have to create 2 different trees of content.

    Umbraco Multilingual 1:1 Sites

    Peter Lindholm : 1:1 is not right in this case. We need different content structure in the english site.
  • You can use the built-in feature:

    1. Add a property called 'umbracoRedirect' to the document type associated with the 'Danish' node.
    2. Set the property to be of type 'Content picker' and save it
    3. At 'Danish' node set the property to point to node 'ForSide'.

    That should work.

    Peter Lindholm : Thank you. This was exactly what I was looking for.
  • Hey Peter, when doing Multilingual sites I tend to have the following structure

    • mywebsite.co.uk
      • About
      • Contact
    • mywebsite.com
      • About
      • contact

    I then apply the host headers to the .co.uk and .com nodes with the appropiate language for dictionary item use.

    I would make Forside/Frontpage the .co.uk/.com nodes that I have created in my strucutre as it seems like an unecessary level you have created.

    Warren

0 comments:

Post a Comment