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

Accepted Answer
0 votes
<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
Community showcase
Published Tuesday in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

351 views 0 9
Read article

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