Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Overriding the macros

Dmitriy Ryabin March 23, 2018

Is there a way to override a macro?

For instance, I want to set the width and height of the panel.  Documentation has no parameters for it, but can I override macros and make it ?  Or do I have to create my own from scratch ?

1 answer

1 accepted

0 votes
Answer accepted
Jan-Peter Rusch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 24, 2018

Hi,

you can try two things:

  • Check the HTML of your page displaying the macro and get a grip of the CSS classes used & try to implement some custom CSS for these macros.
  • Install the free addon Confluence Source Editor
  • Insert the macro you want to modify in a page
  • Open the Source editor & check the storage format of the macro
  • Write a own user macro wrapping the original macro & modify or enhance what you want

I did this eg. with the Show Tasks macro to display only the current users tasks as the current user could not be selected from the user list.

Dmitriy Ryabin March 26, 2018

Thank you !!
I will look into these !!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events