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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

355 views 20 10
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