Confluence Version 4.1.9
Build 3148
License : Evaluation
Question: How can I disable the child page display which appears by default in the parent page when it has one or more child pages. I have checked in parent page no macro for Children display exists.
Any help, as I have not been able to find any solution online
regards
Dilpreet ()
Hi Dilpreet,
I wrote a blog post on how to do this recently - http://blog.networkedcollaboration.com/2012/03/12/hide-confluence-child-pages-with-jquery/
Hope it helps?
Andrew.
That was just great to read and use! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using a JS framework to alter the CSS of artfacts already generated by the server may be the least effective way to do this. Other suggestions that modify the space or global velocity templates, or themes are a more performant approach.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check comment of that post for html macro\jquery workaround if you don't have permission to edit header
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Insert>Wiki Markup
Then, paste this code:
{style} div#children-section.pageSection { display: none; } {style}
You can put it in your space stylesheet (without {style}) if you want to hide all your space children list.
Have a nice day,
Lauret
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! It works perfectly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you - this worked perfectly!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much ! This works in a page level and that is what I needed !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With the help of following code I'm not showing child pages on space's home page. This is faster, then rendering all child pages and then hiding them via JavaScript:
## CUSTOM (don't show child pages of space homepage): begin #if ($space.homePage != $page) #renderChildren() #end ## CUSTOM (don't show child pages of space homepage): end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't add it to a page, but rather to default page layout used in that page, which is a Velocity template (*.vm) file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I added some more details on how to get access to the correct velocity template over here: http://ffeathers.wordpress.com/2013/02/24/confluence-tip-how-to-hide-child-pages-in-the-documentation-theme/#comment-22286
(It's the blog of Sarah Maddox -> head documentation writer for confluence)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Removing the answer becasue Ivar isn't happy with the answer and for some reason Answers will no longer allow me to remove it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This isn't really correct is it? The query is about the "standard" Child pages information on every page, not if you have inserted it as a macro. I have to follow the instructions on this page in order to remove it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I discovered that "Child Pages" don't show up if you create a "knowledge-base" Space (rather than a "documentation" space. It also appears as if you can not change the Space type once it has been created, so choose carefully. Moreover, a "documentation" space also prevents you from using the "Space Tools" which are located in the lower left hand corner of pages that are created with the "knowledge-base" Space type.
I agree that the lack of functionality with the Confluence Cloud is frustrating, but I also understand the need to balance security.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can migrate all the pages from one space to another, just by moving the top level. I'd test it first and probably do it out-of-hours, though, it could take a long time with 700+ child pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm facing the same problem. I'm using the onDemand version and don't have the luxury to change any templates. Would be glad to see if anyone knows a solution to this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hiding using JavaScript/CSS is not good, because child list is generated too in that case and server resources are consumed.
I have a page with 792 child pages, which takes infininy to load and knowing that it's space's home page it's really important for it to load fast.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.