It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hi, I need to hide a page from the space tree.

I've seen other posts that advise to just move the page in the hierarchy out of from the children of home page. People say to put it at the same level, and once it's an orphan page, it's hidden.

But I've done that, my page is orphan and it keeps appearing in the tree.

Anyone knows how to definetly hide this page??

2 answers

1 accepted

1 vote
Answer accepted

Hi David Sánchez Guerrero

Thank you for the screen shot.

Setting a page to orphaned does work to remove it from the "page tree" list. But it will still be available within the space as shown in the screen shot that you have shared.

You can use "Page Restrictions" which restricts a page from view.

More info on "Page Restrctions" can be found here - https://confluence.atlassian.com/conf64/page-restrictions-936510656.html

Hope this helps.

 

Warm Regards,

Raja

Hi Raja, first of all, thank you so much for your help.

Restrictions are good for a total hiding of the page, but I want it to be hidden in the tree but accessible by direct link to the page.

So, not visible in the tree but working if I want to access it via link from another page.

The editors don't want to be accessible by navigation, but only from an specific page.

Sorry I didn't explain myself better.

Like # people like this

If you want to hide the page "re-order pages" section too, then all you need to do is to write a Style sheet.

Go to Space Tools --> Look and Feel --> Style Sheet

 

Write the below code

#node-24085450

{display: none;}

 

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

Above I wrote node-24085450 because my ID is so.. yours may be different.

 

How to find the ID of the Node is, 

After going to the "re-order" pages in Chrome --> then click on "F12" button (which opens DOM explorer)

 

select an element in the page..  which is your page name and get the ID of the node name which will be something like - id="node-24085450"

 

save.

 

That's it, it will disappear :)

 

Hope this will fix the issue.

 

Warm Regards,

Raja

Like Zak Laughton likes this

Hi Raja, 

thanks again for your help.

With your last post I found out the problem.

I have RefinedTheme plugin and this renames the nodes and insted of node-#### they appear as rw_pagetree_item_#### and that's why it's not hidden by the usual ways.

But thanx to you that I know now what is my problem and now I can look for the way to fix it.

Thank you so much Raja!

Hi David Sánchez Guerrero

Please share a screen shot by following the below steps.

Go to Space Tools --> Reorder Pages


Warm Regards,
Raja

Hi Raja,

here you have the page "Página huérfana" that is at the same level of the home page ("Epsilon")

image.png

and in the next image, it's shown as an orphan page:

image.png

 

and finally, the page tree with the page that I really want to hide:

image.png

Regards.

does this solution still work? I have tried without success...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,340 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you