Copied to clipboard

Flag this post as spam?

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


  • Erik Ernst 70 posts 90 karma points
    Nov 03, 2010 @ 12:28
    Erik Ernst
    0

    "Multi-Site" with ForceHome

    I have a site where I have multiple "sites" within the same site. My root site is merely a country selection page and the sub levels are for each country, eg. /da.aspx /en.aspx etc.

    When I use the COQworks navigation then it works fine. Except if I use "ForceHome" - this will lead to the root home page. Not the home page of the selected site on level 2.

    My macro is called like this:

    <umbraco:Macro startingLevel="2" recurse="0" selectBranches="1" maxMenuDepth="1" ulBaseClass="navi" branchClass="" selectedClass="first" forceNode="" expandChildren="0" forceHome="1" securityTrimming="0" Alias="[COG]Navigation" runat="server"></umbraco:Macro>

    Is there  anyway to make it call the home page at level 2?

  • Tim 225 posts 690 karma points
    Nov 03, 2010 @ 18:16
    Tim
    1

    You'd have to modify the XSLT to do this as it assumes the level 1 root is the homepage. You should just be able to update the XPath query to pull out your desired homepage instead however.

    T

  • 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