We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16702 ☆ A M B ☆
    • 536 Posts
    Hello guys,

    i have:
    Revo 2.1.1
    Wayfinder 2.3.1

    and in my instalation i have 7 Context (Multiple sub-domains), Something like this:
    - Context_1
    -- index / Hello 1
    -- doc
    - Context_2
    -- index / Hello 2
    -- doc
    - Context_3
    -- index / Hello 3
    -- doc
    - Context_4
    -- index / Hello 4
    -- doc
    etc.

    my question is how can in root print menu with only ’start_site’ / index with Wayfinder?
    and i get something like this:

    - Hello 1
    - Hello 2
    - Hello 3
    - Hello 4

    Thanks!
      palma non sine pulvere
      • 16702 ☆ A M B ☆
      • 536 Posts
      something like this:

      [[!Wayfinder? &startId=`0` &includeDocs=`2,6,8,10,12,14,16,18` &sortBy=`pagetitle` &sortOrder=`asc` &hereClass=`active` &level=`1` &contexts =`contexts1,contexts2,contexts3,contexts4,contexts5,contexts6,contexts7,contexts8`]]


      is work perfect BUT is manual smiley)

      is not work correctly huh cool shocked
        palma non sine pulvere
        • 32699 ☆ A M B ☆
        • 427 Posts
        [[!Wayfinder?startId=`0`
                           &sortBy=`pagetitle`
        		   &sortOrder=`asc`
        		   &hereClass=`active`
        		   &level=`1`
        		   &contexts =`Context_1,Context_2,Context_3,Context_4`]]			
        

        The context names have to match exactly.

        I do not know which method you utilized to create your Contexts, but simply going to the page via Wayfinder will probably not initialize the Context you are changing to, without Snippets being put in place to do so.
        If you are using a Plugin, I would suggest hardcoding the links in a Chunk with each of the subdomains in it and replace Wayfinder with it.

        <a href="http://subdomain.domain.tld">Context 1</a> etc.


        Just saw this in the changelog:
        - [#8] Add &contexts parameter, and &startIdContext parameter if navigating across multiple contexts and using a non-0 &startId
          Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

          Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com