Best way to add content to every page in a space?

I'm new to Confluence administration, but not Confluence as a wiki editor.

I have an onDemand wiki, and I wanted to figure out the best to create some content that will be applied to all the pages in a space.

I imagine the fasted way would be through some sort of plugin (if one existed)

However, my research suggests that I'll have to create a custom theme and put the content there.

Or an easier alternative to a custom theme is to put the content in a Space Template, and create all my pages from the template, but I don't like that solution because I'd never be able to change the content.

Or maybe creating a theme isn't all that hard.

For now, I just want add the Google Analytics JavaScript include to all my pages. So maybe if there is a plugin for that, let me know about it.

Thanks,

Walter

2 answers

1 accepted

I found this http://confluence.atlassian.com/display/DOC/Adding+a+Site-Wide+Banner which describes the Custom HTML feature, and does suit my needs, however I don't appear to have a "Custom HTML" on my Confluence OnDemand site.

And this confirms it http://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand, onDemand does not have Custom HTML

0 vote

I'm not familiar with the SaaS confluence, but I believe the custom HTML is not disabled, in which case that's the best way for this particular task.

Admin -> custom html -> add the javascript to the section "at the end of head".

For the theming in general, as you probably can;t upload plugins, the best way might be to do it entirely in javascript, and include the relevant files using the mechanism above.

Oh... that's surprising. You can do a lot with that custom html thing, and difficult to see why it's restricted. It's not as though it parses velocity or something.

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 Friday 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...

253 views 11 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