Hi all,
How can I add macro [1] to the documentation theme's page layout please? Confluence only allows to customize the default theme and I tried editing the doctheme.jar files but they dob't work well with the macro.
[1] https://confluence.atlassian.com/display/DISC/Next+and+Previous+Links
I am interested in adding the noprint macro to the Documentation theme.
I have found the following in the Atlassian documentation, but when I add this it doesn't seem to work. I can only find the template code for the noprint macro so maybe I need the wrapper for it as well, but can't figure out what this would be.
Taken from page https://confluence.atlassian.com/display/DOC/NoPrint+Example+of+a+User+Macro, the content for the macro is
##
@noparams
<div
class
=
"noprint"
>$body</div>
Can you help me here? Thanks...
You can add them to the footer and then use jQuery to move them where you want. E.g.:
<script type="text/javascript"> jQuery('#prevnext').insertBefore('#main-header'); </script>
(Assuming you've wrapped your buttons in a div with the 'prevnext' id.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I mean I want the next/previous links in the body of the page. Not the footer. Any idea how to do this please? If went to the Administrator -> Look & Feel -> Layouts but not sure where to edit and how.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to Space Admin -> Themes and select to Configure the documentation theme. Just add the macro to the header or footer section.
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.