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

"?decorator=printable" wont work

Simo Suurla Sep 03, 2015

Hi, I need include confluence content in external site without navbar and etc. But  "decorator=printable" wont work for me, is it removed? Using version 5.7.

2 answers

0 votes
TtheB Sep 03, 2015

Did you try "decorator=popup" ?

Simo Suurla Sep 04, 2015

It seems the decorations are removed years ago.. https://jira.atlassian.com/browse/CONF-20865

TtheB Sep 04, 2015

Yeah, your right. I completely forgot, that I have patched the sitemesh.xml to make those decorators work again.

0 votes
Davin Studer Community Leader Sep 03, 2015

You could create a user macro to do this. Check out the example below. Simply add the user macro to any page that you want to be "frameable". Then add "?frameable=true" to the url or if there is already a querystring  then tack on "&frameable=true". If you want every page to be able to do this then add the user macro to the page decorator and you will be able to use this anywhere.

 

## Developed by: Davin Studer
## Date created: 04/02/2015
## @noparams
#if($req.getParameter('frameable') == "true")
<style>
#header, #footer, .ia-splitter .ia-splitter-left {display: none !important;}
#main {margin-left: 0 !important; border: 0 !important;}
body {background: #FFFFFF !important;}
</style>
#end
Simo Suurla Sep 04, 2015

Thank you, I will test this

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

875 views 0 19
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