Hi Sarah and everyone else.
Kicking some nice (6 point) goals with Confluence :-)
If we want to have the same formatted text over and over again, what would be the best way? I started teaching myself macros, but the user permissions needed made our sys admins shudder. But I've got temp access.
Anyway, picture a Tip macro with everything pre-filled in and the user should have nothing to select, except the Macro from the list. And then it shows the nice green box with the fixed text "You should back up this file before editing, then restart the server after you have..." etc.
update: should add, I've dived into Storage Formats already so am comfortable with that level of answer.
You could make a page of just the tip, then use the Include Page macro everywhere you want to add that tip. The added advantage is that like the macro, you can modify the Tip page and all the pages that use it will be automatically updated, and you don't need special privileges to do the page->Include Page method.
Hi all. Thanks for the answers. I ended up creating a User Macro (as a test) that invoked the existing Tip Macro, with some values pre-filled in. It works, but needs fine tuning (see notes at end)
## @noparams <ac:macro ac:name="tip"> <ac:rich-text-body> <p>You should take a back up copy of this file before editing it</p> </ac:rich-text-body> </ac:macro>
Notes
It's not exactly complex, but it works as proof of concept. Gave it a Name and Title, plus Category = Confluence Content and Macro Body Processing = Rendered
User sees text "You should take..." in the Preview (when adding the Macro to the Page) but NOT after the Macro added to the Page. Again, I'm sure some tinkering could get around this.
Anyway might help someone else.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess you would find Page template in handy if you use same format over and over again. You could even put some macro in there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Actually, since version 4.0 is quite simple to have and use the same formatted text, so basically is necessary jut copy and paste the text and you'll have the same foramtted text, because in current versions the application copies as invisible markup so that's the reason you can simply copy the formatted text just doing Ctrl+c and Ctrl+V to another page.
Please try this and feel free to ask!
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.