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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

774 views 23 12
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