We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10525
    • 247 Posts
    This should be straightforward, but I can't get it to work with Wayfinder.

    I have normal non-grouped documents (public), plus documents assigned to one or both of two document groups: Admin group and Client group (both private groups).

    I have my docs arranged like this to make management easier (eg, some docs have the same name in the two groups), (group membership and IDs in brackets):
    Home (1) (public)
    About (2) (public)
    Login (3) (public)

    Admin Docs (4) (container, Admin group)
    - Home (5) - (Admin group)
    - Manage Products (6) - (Admin group)
    - Manage Orders (7) - (Admin group)
    - Reports (8) - (Admin group)

    Client Docs (9) (container, Client group)
    - Home (10) (Client group)
    - Products (11) (Client group)
    - Product Details (12) (Client group)
    - My Orders (13) (Client group)

    View Profile (14) (Admin & Client groups)
    Update Profile (15) (Admin & Client groups)
    Change Password (16) (Admin & Client groups)
    Containers are hidden from menus. All other docs visible.

    I want two menus, one for Admin users and one for Client users.

    Admin users should be able to see the normal docs and the Admin docs (docs: 1,2,3, 5,6,7,8, 14,15,16).
    Client users should be able to see the normal docs and the Client docs (docs: 1,2,3, 10,11,12,13, 14,15,16).

    I just want all the doc links to show on the same level on the menu. No sub menus.

    I have tried various configurations based on the info in the Wayfinder docs, but can only ever get links from a single parent (0, 4 or 9) at any one time.

    Can anybody suggest how I do this?
      • 4172
      • 5,888 Posts
      Wayfinder does allways build the menu as defined with the Resource-tree.

      Why not using getResources, or pdoResources to build the menu?

        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 10525
        • 247 Posts
        Hi Bruno,

        thanks for the suggestion. I may go down that route. First I think I will simply create separate Wayfinder calls, one for each document group, and add them as appropriate to the templates. I have actually done it this way before.