Blueprint title empty

Hi

I'm trying to create a Blueprint plugin using:

https://developer.atlassian.com/display/CONFDEV/Write%20a%20simple%20Confluence%20Blueprint%20plugin

It's going well but the title is blank. See attached screenshot.

Where is the name set?

What am I missing?

Thnaks

2 answers

1 accepted

<content-template key="my-index-template"
		i18n-name-key="my.blueprint.index.title"
		template-title-key="my.blueprint.index.title">
		<description key="my.blueprint.index.description"/>
		<resource name="template" type="download"
			location="/templates/myTemplateIndex.xml" />
	</content-template>

The blog post references "template-title-key" attribute. However, this is now "i18n-name-key"

A shot in the dark but have you edited the properties file?

  1. Add the i18n strings to src/main/resources/confluence-space-blueprints.properties:

    confluence.blueprints.space.example.name=Example Space Blueprint
    confluence.blueprints.space.example.description=An example of a space blueprint
    confluence.blueprints.space.example.dialog.create.title=Create your Example Space
    confluence.blueprints.space.example.dialog.create.heading=About Example Spaces
    confluence.blueprints.space.example.dialog.create.description=The example space is a way of demonstrating the features of space blueprints
    confluence.blueprints.space.example.home.title.suffix=Home Page

Yeah I had set up the i18n properties, but the attributes for the name appear to have changed since my referenced article was written. Serves me right for not downloading the source in the first place!

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 yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

129 views 3 3
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