Create macro/add-on that will change the way pages are opened by adding right parameters to URL request. Params that should be available are described bellow:
-----------------------------
Param 1 - OnlyBody=T)
If param is added to URL address then only body of the page is shown (no top menu, no left menu, no caption of the page, just body of the page)
Picture 1 and 2
Example:
Normal URL: [login to view URL]
With Param: [login to view URL]
Purpose is to show content of confluence pages inside iframe in other projects, where I would like to show only the body of a page.
-----------------------------
Param 2 - HideHeadder=T)
If param is added to URL address then header is not shown (all pages)
Picture 3
I would like to prevent users to change space or to even see space directory/details.
Main purpose is that I would like to host documentation for different projects on the same confluence site and would like to hide that from the visitors. Header is not shown even if opens another page in the same space.
-----------------------------
Param 3 - HideInfo=T)
If param is added to URL address then two links are not shown (all pages)
Picture 4
-----------------------------
Param 4 - CollapseMenu=T)
If param is added to URL then menu on the left is collapsed when page is opened (but it can be opened again)
Picture 5
Interesting project. I might have another idea how to handle this, but would like to hear some more details. How is your current page hosted and what kind of page is it? The content you want to show in the iframe is from the same domain or another site? Contact me to talk some details.
best regards
Sebastian