Add a document download button in a sidebar
The Document download button can be used on all pages with either a sidebar (on the left) or a highlight box (aligned within text on the right).
It provides a clickable button for important documents that you wish to highlight on your page.
This tutorial covers adding button(s) to the sidebar on the left side. See the example in the left-hand grey bar below the navigation.
Give it a try
To add content types to a sidebar, the sidebar area must be 'activated'.
1. Create one hidden section (page) called Sidebar (case sensitive) as a sub-section (child) of the section where your Sidebar will live.
This section must be named Sidebar (case sensitive) and hidden from the navigation in order to work.
Below is a screen shot showing a hidden Sidebar section, a grey folder indicates that the section doesn't show in the navigation and is hidden:
2. Add a Download button - HighlightBox, Sidebar content type to your hidden Sidebar section. (Find out how to add a content type to a section).
3. A form will appear. Fill in the form as below.
NB: There are six fields, the first two are compulsory and one of the two link options should always be used.
Download button content type fields
|Field title||What should I do?||Is it compulsory?|
|Name*||Name the button and give it a concise description e.g. Download button - training page||Yes|
|Link Text*||This is the text that appears in the button (Max 128 characters)||Yes|
|File Type||Add the file type, for example, PDF, DOCX, TXT, WORD (always use CAPITAL LETTERS)||No|
|File Size||Add the size of the file, for example, 25MB, 2KB (always use CAPITAL LETTERS and no space)||No|
|Link Internal||Use the Select link to add a Media Library document link (max 2048 characters) OR||No, but buttons must link to somewhere|
|Link External||Copy and paste URL from external website, the URL must be hosted outside the CMS (max 640 characters)||No, but buttons must link to somewhere|
Select 'Highlighted' for a navy button
Select 'Not highlighted' for a white button
|No, it will default to 'highlighted' and a navy button will be created|
Select Add & Approve to save.
Find out how to add the Document download button.