The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
David at David Simpson Apps
Atlassian Partner
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
Atlassian Partner
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!

TAGS
AUG Leaders

Atlassian Community Events