Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Page tree not visible on space calendar page

Jonathan Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2019

On Confluence server, why is the page tree not visible when on the space's calendar page? Space shortcuts are visible... This doesn't make much sense to me. 

Have a great day pondering my question :D

Confluence server 6.6.1

1 answer

1 accepted

1 vote
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 10, 2019

Hi Jonathan,

How are you viewing the calendar exactly? There are two ways:

  1. Via your-site/calendar/mycalendar.action > this won't display the page tree as you are in the Team Calendars app, and not within a specific space in Confluence. 
  2. Via a page in Confluence, by adding the Team Calendars Macro to a page. Here you should see the space tree.

Can you confirm? If needed, please feel free to share a screenshot of the issue.

Regards,

Shannon

Jonathan Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 10, 2019

When clicking the Calendar link on the left navigation (which is generated when creating the space), this takes us to the calendar page (for this space) but the page tree is invisible.

I checked a few spaces, same result.

b.jpg

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 11, 2019

Thank you, Jonathan.

As the Calendars page as well as Pages and Blog are not part of the space's page tree, the page tree does not display on those pages.

We had a feature request for this in the past, but it has been closed as we do not intend to implement this in the near future.

As a workaround, I recommend the following from our Configure the Sidebar documentation:

Adding custom content to a sidebar

You can further customize a sidebar using wiki markup to add custom content. 

To add custom content to your sidebar:

  1. Go to the space and choose Space tools > Look and Feel from the bottom of the sidebar.
  2. Choose  Sidebar, Header and Footer
  3. Enter your custom content in the Sidebar field. 

To hide the default page tree and add your own, with additional parameters:

  1. Add the wiki markup for the Page Tree Macro in the Sidebar field. 
    The following example includes parameters to expand the top three levels of the page tree by default and include an Expand All and Collapse All link above the tree.

    {pagetree:root=Page Name|startDepth=3|expandCollapseAll=true}
  2. Go to Space Tools > Configure sidebar.
  3. Use the Show and Hide icons to hide the default page tree from the sidebar.

Please see Page Tree Macro for information on how to call specific parameters, but simply typing {pagetree} will show the page tree for the current space.

I've tested this and can confirm it works on my current version of Confluence, 6.11, even if you are on the Calendars page. I have also added this workaround to the above feature request.

Could you give it a try and let me know how it goes?

Regards,

Shannon

Jonathan Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2019

@Shannon S

  Thanks for the work around! I tested this in UAT, looks like it works fine. 

If worked for root, I would consider this a perfect workaround. Sadly root's value has to be modified to the root's page name for each space. 

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 14, 2019

Johanthan,

Thank you for confirming that.

You might be able to set the sidebar globally using the Global Stylesheet:

To edit your global CSS stylesheet: Choose  > General Configuration > Stylesheet

Can you give that a try as well?

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events