Forums

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

Page not displaying anything but html macro

Joe Lindsay June 30, 2016

I have added a html block to generate some buttons to navigate with.

When I save the page only the buttons are displayed. There are other macros on the page but they do not show:

image2016-6-30 16:37:35.png

image2016-6-30 16:38:12.png

Is the macro overriding the other content on the page?

2 answers

1 accepted

1 vote
Answer accepted
Steven F Behnke
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.
June 30, 2016

Do not use HTML, HEAD, or BODY tags in the HTML macro. I think that's it.

Joe Lindsay July 1, 2016

Excellent thanks! Fixed the problem right away

Steven F Behnke
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.
July 1, 2016

Cool, glad that was it. 

The html macro is probably a simple macro like so:

<html>
  $body
</html>

Where $body is the value you're placing inside the macro. 

 

The additional <body> tags conflict with Confluence's tag. 

2 votes
Chander Inguva
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.
June 30, 2016

Yes Joe, As Steve suggested please remove html and body tags and try

html-2.PNG

 

 

 

html-1.PNG

 

Regards

Chander

 

Joe Lindsay July 1, 2016

Worked! Thanks for the help!

Chander Inguva
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.
July 5, 2016

Great!! 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events