I need to set up a Confluence site without child pages showing. I understand this is done via the Velocity files. Does anyone know how to edit velocity files?
notepad? Veolcity templates are text, syntax available at http://velocity.apache.org/engine/devel/user-guide.html , Im not clear on the exact files you need to modify, but an alternate approach may be to use a theme engine, eg Adaptavists ThemeBuilder https://plugins.atlassian.com/plugins/com.adaptavist.confluence.themes.sitebuilder or Zen Foundation https://plugins.atlassian.com/plugins/com.zenfoundation. YMMV
Hi Rosalyn,
If it's just the child pages displayed at the bottom of a parent page that you don't want to show you coud hide them with jQuery without needing to edit any Velocity templates or install any plugins.
Log in as an administrator and select Browse -> Confluence Admin -> Look and Feel -> Custom HTML and insert the following code in the "At end of HEAD" section:
<script> AJS.toInit(function() { AJS.$("#children-section").css("display","none"); }); </script>
Andrew.
It looks like you're new here. Sign in or register to get started.