You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi guys,
I searched some articles in here, but no exact answer.
Is there a out of box way, how to implement "level up" / "go to parent" page button / link into the Confluence Server / DC without any external plugin?
Customer is 15k users, there is almost no possibility to purchase any plugin in schedule less then 2-3 years of planning :)
Thanks for hints.
T.
Like @Bill Bailey said, you'll need an user macro for that.
Here is it (h/t @Thomas Schlegel):
##
@noparams
#if
(!$content.getParent()) <b>No parent page found</b>
#else
#contentLink2($content.getParent()
false
false
)
#end
To use it globally or space-wide you could place the macro in the footer (Look and Feel → Sidebar, header and footer).
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.
@frithjof falck Please elaborate on what you actually want to achieve. Your requirement seems to be different from the one above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This user macro shows the page name of the parent page as a clickable link. Would it be possible to make a user macro that has an <a> tag so that i can change the name of the link to for example "x"?
<a url="link to parent page">LINK NAME</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure if this is possible as I'm not a coder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why is such simple thing not available as a built in macro? Yes I understand you can just insert a link. However we are trying to automate page building with templates and this is one less thing to add.
I've tried the code above and it's not working.
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.
Not sure, I'm not a coder or programmer. Trying to fix a broken macro from another user that got placed in 400+ pages.
I copy pasted this code to replace the original link to parent code and it doesn’t work for me. We are on Data Server 7.19.
From what I'm reading that code should work, so I'm not really understanding why it won't.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My suggestion is to write a user macro to do what you want. You will need cooperation from your admins to install the macro. AND you will have to install the macro each time you want to use it.
You may also be able to do it for every page using javascript, but I will assume that your admin team would view that as needing 2 to 3 years of planning.
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.
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.