How to promote use of (existing) templates with new "Add" menu options?

We've been using templates since we implemented Confluence many years ago. We're now at v3.4.7, testing v4.0.3, and I notice a change in the "Add" menu options, which are now (in this order):

* Page
* Page from template
* ...

and if you choose "Add", it's too late to choose a template!

Q.: Is there an option somewhere which would allow:
* forcing the use of a template
OR
* moving the "Page from template" option to the top of the "Add" list?

1 answer

1 accepted

1 vote
David Simpson Community Champion Dec 13, 2011

To move the "Page from template" option to the top of the menu

Browse to Confluence Admin | Look and Feel | Custom HTML

In At the end of the HEAD paste:

<script>
  AJS.toInit(function(){
    AJS.$('#createPageLinkTemplate').parent().prependTo('#add-menu-link-space');
  });
</script>

Hi David,

Sounds great, but after I edit the *At the end of the HEAD* field as specified, option order in the *Add* menu doesn't change BUT the code line is displayed on top of the page header (above the Browse and <username> menus. Something I'm doing wrong, or is the recipe different in 4.0?

I have screenshots available on my workstation, unfortunately I have no public URL to put them as a reference for this question. Isn't there a way to attach images to this interface from the PC (as in Atlassian Support)?

David Simpson Community Champion Dec 13, 2011

Yes, that wouldn't work. Check the update though. I forgot to wrap the JavaScript in script tags

Exactly what I was looking for -- many thanks, David!

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 Friday 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...

327 views 17 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