"?decorator=printable" wont work

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

This widget could not be displayed.

Did you try "decorator=popup" ?

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

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

This widget could not be displayed.
Davin Studer Community Champion 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

Thank you, I will test this

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

845 views 8 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you