• 5
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Allow a default template to be specified, so that whenever a new page is added, the template will be applied to the data entry area automatically.

      Atlassian Status as of April, 2013

      Hello Everyone,

      If you are going to comment on this ticket we'd love to hear form you about what types of templates do you want them to be? What kinds of spaces are you needing this for?

      Cheers,
      Sherif Mansour
      Confluence Product Manager

        1. c1.png
          c1.png
          32 kB

            [CONFSERVER-3697] Allow default template to be specified

            • +1 to both suggestions
            • Cannot vote as the ticket is closed
            • Are our comments taken into account as the ti_cket is closed ? hope springs eternal _

            Jean-Christophe Gonzales added a comment - +1 to both suggestions Cannot vote as the ticket is closed Are our comments taken into account as the ti_cket is closed ? hope springs eternal _

            +1 to both suggestions.

             

            did one notice, this ticket was opened in 2005 ...

            Hans-Peter Geier added a comment - +1 to both suggestions.   did one notice, this ticket was opened in 2005 ...

            Seems to be a trend on the forums and here of people wanting to do two things: 
            a. Specify the behavior of the "Create" button globally and a space-by-space basis

            b. Option to disable the "Blank" template globally and a space-by-space basis. 

            Greigh MacMichael added a comment - Seems to be a trend on the forums and here of people wanting to do two things:  a. Specify the behavior of the "Create" button globally and a space-by-space basis b. Option to disable the "Blank" template globally and a space-by-space basis. 

            I just added a new ticket for that topic, it's stupid, however maybe it gets more attention then.

            https://jira.atlassian.com/browse/CONFSERVER-53447

            Florian Nolden added a comment - I just added a new ticket for that topic, it's stupid, however maybe it gets more attention then. https://jira.atlassian.com/browse/CONFSERVER-53447

            Ryan Goodwin added a comment - - edited

             I am able to add my custom template to the create dialog. However, this doesn't fulfill my requirement. 

            What I really want is all content within a specific space to ONLY be created with my custom template. So that when the create button is clicked while in this space, it uses my template, not a blank page. 

            I believe this is what most people are asking for. There is no way (i can find) to remove the blank page template from the create dialog box or default new page creation in the space to my custom template. I hope someone can prove me wrong.

             

            v.5.10.8 - blank page template still shows and is default for pressing create button. all other templates are suppressed.

            Ryan Goodwin added a comment - - edited  I am able to add my custom template to the create dialog. However, this doesn't fulfill my requirement.  What I really want is all content within a specific space to ONLY be created with my custom template. So that when the create button is clicked while in this space, it uses my template, not a blank page.  I believe this is what most people are asking for. There is no way (i can find) to remove the blank page template from the create dialog box or default new page creation in the space to my custom template. I hope someone can prove me wrong.   v.5.10.8 - blank page template still shows and is default for pressing create button. all other templates are suppressed.

            HerrDerb added a comment -

            I did make the following JS hack to add a custom global template to the "Create" button. All you need to do is to figure out your template id an replace it in the code down below. And of course past this code within a script tag into the "at end of HEAD" of the Custom HTML configuration.

            AJS.toInit(function () {
                var href = AJS.$('#quick-create-page-button').attr('href');
                var href = href.replace('createpage.action?', 'createpage-entervariables.action?templateId=14483457&');
                AJS.$('#quick-create-page-button').attr('href', href);
            });

            You can figure out your template id by hovering (or inspecting the link) over the specific global template

            HerrDerb added a comment - I did make the following JS hack to add a custom global template to the "Create" button. All you need to do is to figure out your template id an replace it in the code down below. And of course past this code within a script tag into the "at end of HEAD" of the Custom HTML configuration. AJS.toInit(function () { var href = AJS.$( '#quick-create-page-button' ).attr( 'href' ); var href = href.replace( 'createpage.action?' , 'createpage-entervariables.action?templateId=14483457&' ); AJS.$( '#quick-create-page-button' ).attr( 'href' , href); }); You can figure out your template id by hovering (or inspecting the link) over the specific global template

            Zach Davis added a comment -

            I'd also very much like to have this feature implemented. I don't need users creating documents from a blank page when specific templates are available to reduce time spent on formatting and determining which data to put in. @Hans-Peter Geier, do you have any documentation from Confluence Support on editing that jar with specifics to at least bring up the template page when clicking the "Create" button?

            Zach Davis added a comment - I'd also very much like to have this feature implemented. I don't need users creating documents from a blank page when specific templates are available to reduce time spent on formatting and determining which data to put in. @Hans-Peter Geier, do you have any documentation from Confluence Support on editing that jar with specifics to at least bring up the template page when clicking the "Create" button?

            Hans-Peter Geier added a comment - - edited

            Hi @stefantinger, the space admin (maybe with the help of the system administrator) can configure which templates you see when creating a page. If all pages in a space are to be created with one and only template, all other templates can be disabled or demoted, so they won't be available to the users anymore, and the one enabled will be the default then.

            The system administrator may still want to customize the Create button (in 5.9 or greater) to get the earlier behavior back. (which will always bring up the template dialog)

            Hans-Peter Geier added a comment - - edited Hi @stefantinger, the space admin (maybe with the help of the system administrator) can configure which templates you see when creating a page. If all pages in a space are to be created with one and only template, all other templates can be disabled or demoted, so they won't be available to the users anymore, and the one enabled will be the default then. The system administrator may still want to customize the Create button (in 5.9 or greater) to get the earlier behavior back. (which will always bring up the template dialog)

            We always creating our pages from one specific template (contains the permalink url and a viewtracker).
            Would be much easier, if this template could be set as default and i don't have to open the template dialog each time...

            stefantinger added a comment - We always creating our pages from one specific template (contains the permalink url and a viewtracker). Would be much easier, if this template could be set as default and i don't have to open the template dialog each time...

            HerrDerb added a comment -

            I need this feature too.
            IMHO, this is a very basic and important feature. I cannot imagine, that this is any hard to implement. Please don't let this ticket desert.

            HerrDerb added a comment - I need this feature too. IMHO, this is a very basic and important feature. I cannot imagine, that this is any hard to implement. Please don't let this ticket desert.

              alwang Alice Wang (Inactive)
              3445fddc3941 Caesar Wong
              Votes:
              71 Vote for this issue
              Watchers:
              62 Start watching this issue

                Created:
                Updated:
                Resolved: