Standard confluence PageTree macro not pointing to Viewport
We have used the PageTree macro throughout out confluence collection to surface child pages as part of the core page experience. In many cases this is preferred over the side nav. In looking to enable viewport for the spaces, we are having an issue what the pages it points to are the Confluence versions without the viewport rewriting.
Is this an expected behavior or am I missing something in the configuration?
-
Official comment
Hi Dan,
Thanks for the question. Again, to give you the best possible answer: could you let me know if you're using the Help Center theme and whether you're using Scroll Viewport on Confluence Cloud or Confluence Server?
Generally speaking, the Help Center Theme is designed with an in-built page tree on the left sidebar to help your users navigate the help center in a consistent and easy way. We strongly recommend omitting similar page links in the body of the article, so that users don't get confused with multiple navigations.
Now, to your question. I'm actually not sure if I understand the issue you're having. Is it that the links on Viewport are pointing to the Confluence view (instead of the Viewport view)?
Cheers,
Laura
Comment actions -
Thanks for clarifying your question. Yes, the Page Tree macro always gets the links from Confluence as we don't provide a Help Center theme-specific override for the macro (since in the theme the page tree is always embedded in the left sidebar).
Alternatively, you might want to generate the list of links manually or use the Children Display macro on all of your parent pages. We have a theme-own rendering of that macro that is styled and optimized for the Help Center. When you use that macro all links will correctly point to the Viewport view.
-
Laura
Please sign in to leave a comment.
Comments
3 comments