Hi,
beginners question:
we simply want to push the reference to the last editor (line below header of a page) to the bottom of the page. This seems not to be possible without deeply step into theme generation? How do I change the template of a theme?
Or different asked: How can I achieve a editable documentation-theme-like Layout (with tree oh the left) without themes?
Why do you introduce themes, if they are not cusomizable?
Thank you.
Frank
OK, try this:
To move the "Adding by/Last edited by" section to the end of the content for the Documentation Theme only...
Browse to Confluence Admin | Look and Feel | Custom HTML
In At the end of the HEAD, paste:
<script> AJS.toInit(function(){ AJS.$('body.theme-documentation .page-metadata').prependTo('#labels-section'); }); </script>
..then save.
It's much easier when you manipulate the DOM client-side :)
This is the opposite of "Would like the labels to be on top of pages instead of the bottom. Is this possible?"
Browse to: Confluence Administration | Look & Feel | Layouts
in the Content Layouts section, edit Page Layout.
Move this line:
#parse ("/decorators/includes/page-metadata.vm")
...above this line:
#parse ("/labels/labels-editor.vm")
That's it. If you're using a custom theme, then you'll need to edit the page.vmd file in your theme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where do you find the page.vmd file for a theme? All I can find is the one for the default theme located in the /confluence/decorators directory.
Let's hope that making such a simple change to a page layout does not involve downloading the jar file of the theme, making edits to the page.vmd in the jar file, and then redeploying the jar as a plugin. If so, that is a very cumbersome design, to say the least.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
as described in this answer https://answers.atlassian.com/questions/21912/how-do-i-override-css-styles-in-the-documentation-theme
that's exactly what is done. You create a new theme and upload it as a new jar plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.