Add & edit template to an existing page

Laura Meijers January 17, 2022

Hi all,

We are looking for a possibility to add one or more template to an existing page. (CMS principle) These templates should be able to edit in the page where they are added without changing the template itself or information at another page. Of course we have investigated the possibilities and also suggested the copy paste method, but that's a no go for now.

We are curious about the suggestions from your side.

Laura & Sander

7 answers

4 votes
Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2022

Hi @Laura Meijers 

Page templates are used only when adding a page. It is not possible to apply a template to an already-existing page as you can edit the page itself once it is created from a template.

Once a page has been added using a template, the template is no longer linked to the page. All further editing is performed as if the template was never used.

Some Marketplace apps provide enhanced template functionality. I would suggest you to explore Atlassian Marketplace to see if any third party add-ons/plugins meet your requirements.

Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2022

Hi @Laura Meijers 

Instead of replying on your answer, will reply here - I think you can create your own template by using Excerpt Include and Excerpt macro to achieve this. 

Create a page and add "Excerpt macro" which will be used to mark part of this page's content for re-use.

Then Excerpt Include macro can used to display 'excerpted' (that is, a segment of) content from the page created earlier. (You can add this macro in your template)

For example I created a template and added 3 excerpt include macro's in it, which will pull some segment of information from other pages, here's how it looks like -

excerpt-include-template.png
Excerpt Macro page -

excerpt-macro-page.png

Sample published page using the template -
excerpt-include-page.png

You can try it and see if that meets your requirement. 

Laura Meijers January 18, 2022

Hi Kishan,

Thank you for the comprehensive description.
Unfortunately this functionality doesn't match our expectations;

  1. Yes it includes information from another page 
  2. No, we are not able to edit the information in the ''excerpt include'' macro (the page where the information is added) 
    1. Side note: we want to edit the information in the page where it's added, but we don't want to change the information of the original template

So basically it's more like a copy and paste functionality, but we don't want to do this manually by ourselves. Ideally we want to do this by a button/macro/template/add-on functionality.

Laura & Sander

Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2022

Hi @Laura Meijers 

You are right in that you won't be able to edit the information in "excerpt include" macro. 
You can explore "ConfiForms - Data Forms & Workflows" add on through which you can make your reusable content be replicated automatically and managed in one place by using page template easily made with ConfiForms

Like # people like this
2 votes
Laura Holton _ACE Rotterdam_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2022

Hi @Laura Meijers 👋

When you add a new page you can base your it on a template – a Confluence page with predefined content. Some templates are provided by blueprints or add-ons, and you can even create your own templates.

However, you can't apply a template to an already-existing page. Once a page has been added using a template, the template is no longer linked to the page.

I've filtered the search on the Atlassian Marketplace for you to make it easier. You can take a look here.

I hope this helps but if you have any other questions just ask away 😃

All the best,

Laura

1 vote
Dirk Brutscher November 21, 2023

Hi,

after reading your usecase, I think this is exactly what I build my Confluence App "Editor Templates" for. You can create you own templates or content parts on Confluence pages. These "Editor Templates" (pages) can then be inserted as editable content right at the cursor position in the Confluence page editor:

appHighlights1.pngappHighlights2.pngappHighlights3.png

0 votes
Jamie Esker _Appfire_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 13, 2023

Hi @Laura Meijers and others looking for a solution to this issue, 

I'm the Product Marketing Manager at Appfire and you could check out our app, Scaffolding Forms & Templates for Confluence. It lets you build reusable, live templates that update across all pages when edited. When the template is added to the page, you can type within the template and the template does not change. 

Have a look, check out the documentation, and feel free to reach out with any questions!

Jamie

0 votes
Henrik Ekblom September 12, 2023

This is a deal-breaker for when you have many pages...

I want to use Confluence for documentation, but if in the future want to add a new field for all pages, for example, "Touchscreen Functionality", I currently have to manually edit hundreds of pages.

The main issue is that look-and-feel is mixed with the content, which ideally could be separated. 

This seems to resemble how web development was done before WordPress back in 1997 🤔

Jamie Esker _Appfire_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 13, 2023

Hi @Henrik Ekblom I just answered above ^^^. It looks like our plugin may help with what you need :) 

Like Henrik Ekblom likes this
Henrik Ekblom September 15, 2023

Your plugin does exactly what Confluence should do - separate data from presentation. But there are some drawbacks:

  • Editing a page doesn't trigger a new version of the page
    • it's possible to also update the page afterward, but users will forget this and the version history will be incomplete
  • It's not as smooth to edit pages as it is using only original components
    • since you have to edit a component within the page
      • which includes loading times
    • this isn't however as big of a drawback as point nr 1
Like Jamie Esker _Appfire_ likes this
Jamie Esker _Appfire_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 17, 2023

Thanks for the feedback! We're always looking for ways to improve, so I'll make sure to pass this along to my dev team. 

0 votes
Laura Meijers February 14, 2022

Hi all,

Our question is still relevant.
If someone know another solution we would be very interested in it!

Kind regards,

Laura & Sander

Miriam Hopton April 19, 2023

same here! Curious and highly interested. You would think it would be something easy too!

0 votes
Laura Meijers January 17, 2022

Hi Kishan and Laura,

Thank you for both replies. We know how the template functionality works and are also familiar with the Marketplace. What we are looking for is if someone has experience with an add-on that makes our request possible: Add one or more template to an already existing page with information as ''extra''. 

We have already explored the following application, but what we are missing is the possibility to edit the text in the Confluence page.

https://marketplace.atlassian.com/apps/1222146/content-template-macro-for-confluence?hosting=cloud&tab=overview

Laura & Sander

Schermafbeelding 2022-01-17 135512.jpg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events