Navigation showing wrong page hierarchy

Issue

  • After creating public and private pages in DXP 7.3 and then creating a Master Page Template Design and a Display Page Template Design with the private pages, you should be able to see private pages in the Navigation bar of "Private page display page template". But instead, you see the public pages.

Environment

  • DXP 7.3

Resolution

  • Please note below the steps for you to achieve the goal:

    1. Create two public pages from Basic Template "Blank" and name them "Public page 1" and "Public page 2"
    2. Create two private pages from Basic Template "Blank" and name them "Private page 1" and "Private page 2"
    3. Create a master page template Design/Page Templates/Masters
    4. Name it "Private page master"
    5. Add the Navigation menu into the master
    6. Configure Navigation menu
    7. Select Navigation: Private Page Hierarchy > Save > Publish
    8. Create a display page template Design/Page Templates/Display Page Templates
    9. Select Master Page: "Private page master"
    10. Name it as "Private page display page template"
    11. Select a content type: Web Content Article
    12. Select a sub type: Basic Web Content > Save
    Expected behavior: you see private pages in the Navigation bar of "Private page display page template"
    Actual behavior: you see public pages in the Navigation bar of "Private page display page template"
    13. Add HTML element and click element-html in the right column to configure mappings
    14. Select the field Title into the Field field in the Mapping part below > Publish
    15. Create a Web Content
    16. Add title and content
    17. Configure Default Display Page Template in the right column
    18. Select Specific Display Page Template
    19. Select Private page display page template > Publish
    20. Click three vertical buttons on the created web content > Preview
    Expected behavior: You see the content you created displayed in the "Private page display page template" with a navigation bar containing private pages.
    Actual behavior: You see the content you created displayed in the "Private page display page template" with a navigation bar containing public pages.
    21. Click three vertical buttons on the created web content > View Content
    Expected behavior: Web content is displayed using a friendly URL and "Private page display page template" with a navigation bar containing private pages.
    Actual behavior: Web content is displayed using a friendly URL ("-" replaced with "w") and "Private page display page template" with a navigation bar containing public pages.
    22. In the left-hand content menu, go to Site Builder > Navigation Menus.
    23. Create a new menu titled "Private Page Menu".
    24. Click Add > Page, switch to Private Pages, then select all private pages (as you create more private pages in the future, you'll have the option to easily add them to the Private Page Menu).
    25. Make a duplication of the "Private page master" Master Page Template and edit it.
    26. Reconfigure the navigation menu, then select "Choose Menu", then select "Private Page Menu", then Save, then Publish.
    27. Repeat steps 5 - 9 using this new Master Page Template.
    28. Notice the private pages are now displayed instead.





Was this article helpful?
0 out of 0 found this helpful