I am in the process of developing end-user documentation using Confluence pages. I need to link to these pages from an internal web application we have. For example, a user will click a help button on a given page and a new window will open that points to a confluence page for that page's help documentation. I thought I had this working by simply copying the url from the "View Source" action within the confluence site (it's a drop-down option in the upper right part of the confluence site when you click "...". When linking to this page from our web app it displayed fine when I just had some tables and some text. However, now that I have added an html macro to display a 'close window' button, it doesn't work. The page shows my html/js code within the macro block as if you were in edit mode. No macros will work using this "view source" url.
To my understanding, there is no way to include html/js without using a macro, so how do I simply display the page with an html button that will close the window? Note, I can't use the "link to this page" option because that url will display the Confluence header with options. The requirement is to only show the documentation content within a separate window from our web app.
Is there any alternative I could use, something I'm not aware of? Note- I'm new to confluence and I'm sure there are tons of capabilities that I'm not aware of
Thanks
Community moderators have prevented the ability to post new answers.
Hi Matt,
I was hiding header and side bar by including to a page body appropriate inline styles with "display: none".
Hi, thanks for your reply. Can I do this on the space level? I don't want to remove the header and side bar for every space in our site. That will not be acceptable as my space is unique and should be self-contained.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would you be able to provide an example/code? Are you editing from within "View Source" or is there a way you're embedding this on the page via a macro (ie, the HTML macro)?
Many thanks,
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.