• Community
  • Products
  • Confluence
  • Questions
  • Is there a way to automatically apply a particular theme or page layout (using BrikIt's Theme Press plugin) to certain page types *without* exposing all the macro/template code in the content editor the user sees?

Is there a way to automatically apply a particular theme or page layout (using BrikIt's Theme Press plugin) to certain page types *without* exposing all the macro/template code in the content editor the user sees?

I'm currently using Brikit’s Theme Press plugin to create a custom look-and-feel for our company’s Intranet. We’ve created custom layouts for different Spaces, but are having difficulty automatically applying them to then creation of certain page types (News Articles, etc.).

We’ve tried to accomplish this by exporting XML generated by Tools > View Storage Format and building a Blueprint around it.

Unfortunately, when a new page is created based on the blueprint, we run into two problems:

1) The entirety of the macro and layout code is exposed in the content editor.

2) We can’t seem to make certain sections editable and others not editable.

Is there a way to set it up so that new content of a certain type where the theme/layout is automatically applied and the end-user only edits the desired content area?

2 answers

Hi Stacia,

I'm having a little trouble following everything you listed, so bear with me if I ask some irrelevant questions. :) I just want a little more info to make sure I understand your issue.

Where do these pages reside? In other words, in what spaces do they exist? What layout have you associated with those spaces? If you create a blank page in those spaces, do they get the proper layout?

I need more info regarding what you mean in #1. What is the macro? What is "layout code"? Also, can you add an image of this?

Regarding #2... I'm assuming you are referring to layers/columns/blocks when you write "sections". There are some distinctions between layers/columns/blocks when you work in the brikit.layout page vs. generic pages. If I understand you correctly though, I'm not sure. :) If you file a JIRA issue with us, we can better cover the details of your problem.

Kind regards,

Robbie

Robbie,

Thanks again for your help! Per your suggestion, I've created an issue at the following link: https://brikit.atlassian.net/browse/CC-614

I've also rephrased what I'm trying to ask so I think it will make more sense (and answers your questions).

Hoping you all are able to advise!

Stacia

Thanks, Stacia. Kelli will help you.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,990 views 25 10
Join discussion

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