Hello.
I'm a newbee on the forum but I've been using Confluece for 2+ years.
Is this possible? I would like this since we put the status/condition of a page in the label and the pages could be very long and we would like to avoid scrolling down (which can take time) to find the labels.
It seems currently not possible. How shoud I proceed?
Thank you for your support.
Best regards,
Yan
Browse to:
Confluence Administration | Look & Feel | Layouts
in the Content Layouts section, edit Page Layout.
Move this line:
#parse ("/labels/labels-editor.vm")
...below this line:
#parse ("/decorators/includes/page-metadata.vm")
That's it. If you're using a custom theme, then you'll need to edit the page.vmd file in your theme.
Yan, checkout the link to Layout in the space's Space Admin. You can do it there as well I think
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear David et all,
Thank you very much for the quick answer (amazing speed!)
I was hoping that the change could be made in a particular space only (the theme type of "Document"), not the whole server. (as a slight change could "shock" the 100's of other users). Is this possible?
Thank you again.
- Yan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you can only change it in...
Space Administration | Look and Feel | Layout
...if you're using the default theme.
Otherwise, you get a message like this:
"You can not customise the site look and feel while a theme is active. You must first disable the currently configured theme."
If that's no good, the a custom theme containing just an edited version of page.vmd is the way forward.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think if the global theme is the 'default Confluence theme' then you can edit it it also in Spaces. I haven't tested it, but I would assume then that this only affects that space, but ..... maybe not
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'd think you'd need to download the documentation theme plugin, make your chnages, rebuild and install in your instance
https://studio.plugins.atlassian.com/source/browse/DOC
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.
What theme are you using? If you are using the 'default theme' you can adjust the page layout by going to Admin->Look and Feel->Layouts
You edit the Page Layout under Content Layouts. You'll see where the body is defined and you can move the label related markup above it.
<div class="wiki-content">
$body
</div>
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title
$trackbackUtils.getPingUrl($page))
#parse ("/labels/labels-editor.vm")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ha! You got there first. Thanks for the vote :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do you do this in the latest version of Confluence? I don't see the Layouts option anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if a person is using "Document" theme? What page.vmd file needs to be altered in this case? I searched high and low, but couldln't find a "themes" directory.
I would appreciate any help.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want it for just one space, then try moving the labels div with some javascript...
Browse to...
Confluence Administration | Look & Feel | Custom HTML
...in At end of the BODY, paste this code:
<script type="text/javascript">
AJS.toInit(function(){
if (AJS.params.spaceKey == "YOUR-SPACE-KEY"){ // add the specific space key here
AJS.$('.page-metadata:first').after( AJS.$( '#labels-section') );
}
});
</script>
// Unfortunately, this little bit of javascript will get loaded on every page, so a custom theme would really be best.
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.