Guide to Confluence and Scroll Viewport
Workflow
To create a page
Create and build the page in staging. Use the + symbol in the lefthand nav, either at the top Pages level or under an existing page
Use comments for page reviews
When it’s approved, use Move (the 3 dots upper right next to Share) to move the page to live.
In the pop-up window, select Shelter’s Digital Framework for space, then toggle the page to the IA location you want. If you can’t get it exactly right, you can also move it once it’s in the live space.
Click Move
Once you’ve reviewed the page in the live space, you can update Scroll Viewport to make it live
NOTE: When you move a parent page, it will also move its children. If you don’t want to move the children, you’ll need to first move them in the Staging IA.
To edit a page
Because any page ‘publishing’ you do in Confluence won’t be reflected on the live site until you update it in Scroll Viewport, it’s fine to make edits and leave comments in a live Confluence page. Any comments unresolved won’t appear in Scroll Viewport.
Top tip: If you’re not sure which macro to use for something, find a page that already uses it (for example, for displaying videos) and open it for editing, to deconstruct how it works.
Updating the live site
In Confluence, from any published or closed page, use the top toolbar to select Scroll Viewport from the Apps dropdown
In SV, click Update site upper right. It generally takes around 5 minutes to update.
Once it’s finished, click Go live and then View site
Editing the Scroll Viewport theme
In the SV app, click Edit theme upper right
In the theme editor lefthand column, click Templates
In the editor, you can edit the header, footer, or page templates for the home page ('Content Source'), article pages or the search results page.
NOTE: When you edit a page template, your changes will be reflected in the main part of the editorOur homepage uses the Content Source template with layout type set to Hero layout. This shows the hero image containing the page title, intro text and search bar.
The Detail layout displays the hero image at reduced depth with only the search bar, and page title/intro text below it.We’re leaving the tick boxes for News section and Pinned pages section blank as we’re managing blogs differently. See below.
Colour settings are straightforward, and use the brand colours.
UX team asked us to leave the Topics icon name field blank, so no icon displays.
For anything you edit, there’s the option for adding custom CSS to alter the default display. For example, we’ve added custom CSS for the table of contents display, so it only shows H2s on a page. If you need help with what the code should be, you can either ask the k15t support site, or ask the dev team.
Turning the cookies banner on or off
NOTE: This option no longer applies since the CivicUK banner has been added to the framework.
In the Templates lefthand column, scroll down to Cookies notice and click to expand it. Tick or untick the Display box.
Managing the homepage tiles
The tiles display the top-level page titles and the excerpt (meta-description) of those pages. If they don’t have an excerpt, the tile displays the first 25 words (or so) of body copy on the page.
Tiles display in their order in the top level. If you want to change their order, move their pages within the IA. Just be aware, this will be reflected in the lefthand nav on all live pages.
You can hide a page from being displayed as a tile by adding the label scroll-help-center-exclude-page to the page. (Labels don’t take affect until you update the live site).
Building pages
NOTE: Scroll Viewport does not support the layouts option in Confluence. So you can’t display text next to images. You can
Create a new page. Use the + symbol in the lefthand nav, either at the top Pages level or under an existing page
Enter page title
Enter and format your text, including any text links
Add any macros you need, one of 2 ways:
Type a forward-slash and the menu of macros will appear. Type the first few letters of its name to filter the menu
Use the dropdown in right side of the top toolbar. You can filter it using the search
Add any images using the toolbar option. Once you’ve inserted it, you can size the image to fit the full column width or even wider.
Click an image to:
display the Alt text editor and add some alt text
position it to the left, centre or right
link it to a page or external URL
delete it
NOTE: Scroll Viewport does not support image captions in Confluence. If you want to use captions, add them below or above the image.
Add SEO using the Excerpt macro:
Add it at the top of your page
Enter the text that will be your meta-description
Be sure to tick Hide Excerpted Content to the right
NOTE: If the page is at the IA’s top level, your except text will also be displayed in the homepage tile
When your draft page is built, Publish it
Publishing blogs
Because of a product bug in how Scroll Viewport displays listing of the Confluence blog template on the homepage, Dixie has built a workaround:
All blogs have a single parent page.
When you create a new blog page, use the standard article page template (the default) and not the Blog post template:
Create it as a child of the parent.
On the parent page:
Edit the excerpt macro, replacing the previous text with the date and title of the newest blog
Add the new date and title to the body text, above the previous blog post
Moving or copying pages
Use cases:
When a page in staging is ready to go live
If a page in the live space needs to be removed but you want to keep a copy of it
On the Confluence page, click the 3 dots upper right and select Move or Copy. (Ideally, a page shouldn’t sit in two spaces at once. So the preferred option is to use Move. But there may be times when you need to keep a copy in Staging as a back-up.)
In the new window, use the dropdown to select the space you’re moving/copying to.
Toggle-drag the page to its new location in the IA. If you drag it directly underneath and touching an existing page, that page will become the parent of the new page. (This is a bit fiddly but you’ll get the hang of it.)
Click Save.
Hiding a page from the lefthand navigation
You can keep any page hidden from the nav (like our golden thread long-description page) by:
Go to Space settings in your Confluence space
Under Manage pages click Reorder
Drag and drop the page you want to hide to the top level, eg under the space name ('Shelter’s digital framework')
Useful links
Overview of the Scroll Viewport help center theme
The Confluence macros and features supported by Scroll Viewport
How to exclude pages from navigation and search
A list of the Confluence macros