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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try "decorator=popup" ?
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.
Yeah, your right. I completely forgot, that I have patched the sitemesh.xml to make those decorators work again.
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.