Hide page from tree

David Sánchez Guerrero February 19, 2019

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
Raja Shekher Kammara February 19, 2019

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

David Sánchez Guerrero February 19, 2019

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
Raja Shekher Kammara February 19, 2019

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
Raja Shekher Kammara February 19, 2019

FindIDusingDOM1.PNG

David Sánchez Guerrero February 19, 2019

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!

0 votes
Raja Shekher Kammara February 19, 2019

Hi David Sánchez Guerrero

Please share a screen shot by following the below steps.

Go to Space Tools --> Reorder Pages


Warm Regards,
Raja

David Sánchez Guerrero February 19, 2019

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.

Laura Bier February 10, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events