main.vmd not used in editor when crating page from blueprint

We use a custom theme in Confluence 5.1. If I create a new page or edit an existing one, the main.vmd decorator from the theme is used and our theme look & feel of the editor is correct.

However, if I create a page from the following blueprints, the main.vmd decorator from the custom theme is not applied and the layout of the editor is not correct:

  • com.atlassian.confluence.plugins.confluence-business-blueprints:meeting-notes-blueprint
  • com.atlassian.confluence.plugins.confluence-software-blueprints:requirements-blueprint
  • maybe others?

The right CSS file is being loaded, it really seems to be the decorator that is being ignored.

Any ideas?

Cheers,
Thomas

2 answers

1 accepted

This widget could not be displayed.

Hi Thomas,

It looks like you have uncovered a bug with our decorator code, and I am afraid that there is no simple workaround. I've created issue https://jira.atlassian.com/browse/CONF-28834 to track the problem, so please vote on it and watch it for progress.

If you really need a workaround and are comforatable editing plugin XML files, you could edit the <decorator> module in the confluence-create-content-plugin jar so that the "page" attribute points to your theme's main.vmd file instead of decorators/main.vmd.

Hope that helps!

David

Hello David,

Editing the confluence-create-content-plugin jar would work. However, customers who install the theme on their Confluence would have to tweak the plugin as well.
Nevertheless, thanks for the tip!

Cheers,
Thomas

This widget could not be displayed.

Hi Thomas,

It seems that we always apply the default main.vmd decorator to that blueprint url. I've raised a ticket here:

https://jira.atlassian.com/browse/CONF-28808

Cheers,

Agnes

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

398 views 4 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you