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

This widget could not be displayed.
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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

85 views 12 6
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