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

Normand Brousseau December 12, 2011

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
Answer accepted
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
December 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>

Normand Brousseau December 13, 2011

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 at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
December 13, 2011

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

Normand Brousseau December 13, 2011

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events