Collections
Model your own content — candidates, policies, media — with a listing page, a page per item, and forms that report back to your CRM.
Quick answers
4 questions · click to openHow do I add a candidates or policies section to our website?
Go to Pages, choose New page, and pick Collection. Define the fields you want to record once, then add an item for each candidate or policy. You get a listing page and a page per item without a developer.
Can I see who contacted a particular candidate?
Yes, if the candidate's page carries one of your forms. Every submission through it is tagged with that item, so you can filter your people by it, save the result as a list, and email them.
Do I need a developer to add a new candidate?
No. Adding, editing and unpublishing items is done entirely in the dashboard. You only need a developer if you want the item pages to look different from the layout you started with.
What is the difference between a collection and a feed?
A feed holds posts — dated articles in one stream. A collection holds records of a type you define, each with its own fields, and they are not primarily ordered by date. Candidates, policies and branches are collections; news is a feed.
A collection is a set of similar records you want on your website: your candidates, your policies, your media appearances, your how-to-vote cards. You define what you record about each one, then add them from the dashboard whenever you like.
Every collection gives you two things: a listing page showing all of them, and a page for each item.
Creating a collection
A collection is a page, so you make one the same way you make any other page: go to Pages, choose New page, and pick Collection.
Give it a title — the name for all of them together, like Candidates. That becomes the heading on your listing page, and its web address. You are also asked what one of them is called, because that is what buttons say: “Add candidate”. It is filled in for you from the title and you can correct it, which you will want to do for something like Media.
New pages start unpublished, so nothing appears on your website until you publish it. That gives you time to set the fields up and add the first few entries in private.
Your collection then appears in Pages alongside everything else. Opening it takes you to its own screen rather than the page editor, in the same way a news feed does.
Defining the fields
Fields are what you fill in for each item. On the collection’s Fields tab, add one for each thing you want to record — a photo, a short summary, an electorate, a biography.
The order matters. Drag a field, or use the arrows beside it, and that is the order the boxes appear in when you add an item. Put the things you fill in every time at the top.
The field types are the same ones you already use elsewhere, plus one that is specific to collections:
| Type | What it holds |
|---|---|
| Text, Long text, Rich text | Words. Rich text has formatting; long text does not. |
| Image, File | A picture, or a document such as a how-to-vote card. You upload these straight onto the item — up to 25 MB each. |
| Number, Date, Email, URL | Exactly what they say. |
| Select, Multi-select | One, or several, from a list of options you set. |
| Yes/No | A tick box — use it for things like “featured”. |
| Reference | A link to a real record in your CRM: a branch, an event, a person, or an item in another collection. |
Reference fields
A reference field is the one worth understanding, because it is what makes a collection part of your CRM rather than a separate website.
Give your Candidate collection a reference field pointing at a branch, and each candidate is linked to a real branch record. Their page can then show that branch’s name and its next two meetings — and it stays right on its own, because you are pointing at the branch, not copying it. When the branch schedules a new meeting, the candidate’s page shows it.
How the form is laid out
Collections come in two shapes, and Cobber picks the one that fits your fields:
- Writing — one field fills the page with a proper text editor, and everything else sits in a sidebar beside it. This is what you want for candidates, policies, or anything with a biography. It works the same way as writing a post.
- Details — every field in one compact form. Better for short entries like media appearances, how-to-vote cards or FAQs, where a big writing area would just be empty space.
You get Writing as soon as the collection has a rich text field, and Details when it does not. Change it on the Fields tab under Form layout if that guess is wrong.
Where a collection has more than one long field, the one marked Main content is the one that fills the page. Rich text always wins over plain long text, so a Short summary will not push a Biography out of the way — and where two are equal, the one higher up the fields list wins.
Adding items
From the collection’s screen, choose Add and fill in the fields. Items save as drafts until you tick Published, and an unpublished item is not on your site and does not appear in the listing.
The list shows the first couple of your own fields as columns, so you can see at a glance which electorate or category each one belongs to. Use the tabs above it to see only published items or only drafts, and the search box to find one by name.
To take one down, untick Published — you do not have to delete it.
Forms on item pages, and who filled them in
This is the part that makes collections worth using instead of a page builder.
An item’s page can carry your real Cobber forms — a contact form, a donate button, a volunteer sign-up — and every submission is recorded against that item. An enquiry through Felicity’s page is not just an enquiry: it is an enquiry to Felicity.
That means:
- On People, you can filter by the collection item and see everyone who came through it. Save that as a list, and email or text them like any other segment.
- Donations made through an item’s page are attributed to it, so you can report on what a particular candidate or policy raised.
Adding a form to an item template is a theme change, so it is the one part of this that needs a developer — see theme development.
Changing how they look
New collections start with a plain, tidy layout that follows your theme’s colours and fonts, so they look like the rest of your site straight away.
If you want a collection to look different — candidate profiles laid out differently from policy pages — a developer can add a layout just for it, and the ones without a custom layout carry on using the standard one. See theme development.
Renaming or removing one
The collection’s own settings — its title, web address and whether it is published — live on the Page settings tab, because a collection is a page. What each item is called sits on the Fields tab, under Naming.
Deleting the page deletes the collection with it: its items, its fields and its listing. Anyone following an old link will get a not-found page, so redirect or remove those links first. It cannot be undone.