Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Incomprehensible line of code on each page

Hello, i update the confluence server, from 6.9.0 to 7.2.1 version, after updating I observe an obscure line of code on all pages in all spaces. I use default template for web parts.

How can this be removed?

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))

 I also see that this problem is not only mine, example:

https://kb.nocproject.org/display/SITE/About

https://docs.onapp.com/display/35AG/Copy+Billing+Plan

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=9011888&navigatingVersions=true

1 comment

You've used the "trackback" macro on these pages.  This was deprecated a while ago and removed from Confluence 7.

In the long term, you will want to remove all usage of it.

In the short term, you can pretty it up - write a new "user macro" called trackbackRDF that does nothing at all.  This will

  • remove the display you're getting from every page
  • enable you to use the "macro search" in Confluence admin to find and remove them

As you're seeing it a lot, I would guess you have embedded it into a theme, or possibly some page templates.  I'd remove the macro from there first.

Like # people like this

Strange, I didn’t change anything at all, maybe something went wrong when updating confluence.
And yet thanks, your advice helped solve my problem.

 

My solution: 

Admin page -> Layouts (look and feel)

Page Layout (or more) -> Reset to default

No, sorry, you have misunderstood.

The code you are seeing is a block that is a macro.  That macro was removed from your install by your upgrade

Glad the fix helped though, even better that it was in the Layouts, so it's easy to remove!

Like Vladimir Obukhov likes this

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

31,296 views 25 111
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you