This task is for users with the following roles: OC Site Manager and OC System Administrator.
In govDelivery, you use bulletins to send messages to subscribers, and this integration uses standard bulletins. While you can control the body template for each content type from OpenCities, the templates for the header and footer come from govDelivery.
There are three types of standard bulletin templates:
- General Bulletin template: created and sent for multiple topics at a time. Please note that this template is not used with OpenCities bulletins.
- Default Topic Bulletin template: used with a specific topic when that topic doesn't have a Topic Bulletin template or if you select multiple topics in OpenCities.
- Topic Bulletin template: created and sent for specific topics.
You'll need to ensure you have formatted the header and footer for these before you start sending bulletins.
Create templates for bulletin body content
While the header and footer templates come from govDelivery, you can create a body content template for each content type. By default, each available content type will already include the bulletin message you write as you create the bulletin. To customize them further:
- Go to More > govDelivery and select the Templates tab. There are separate sections for System Content Types and Custom Content Types.
- When you select the relevant content type, the Bulletin Template will open below the list, and you can edit the Subject and body content.
- The Subject field will be the subject line for each email; by default, it contains the placeholder {PageName}, which auto-fills the Page name field into the email.
- The text box is where you will create and style your body content. In addition to the bulletin message, you can add HTML and free text or use the Data fields dropdown menu to Insert dynamic fields specific to each content type or page.
- Save when you're finished.
You can add the bulletin message when you send bulletins from specific pages, so you may want to avoid adding content that will repeat in the message or the header and footer templates.
HTML example
Please note that it is your responsibility to add and maintain HTML additions and styling. As such, we recommend consulting a front-end developer when creating these templates
We recommend having some experience using HTML before adding styling, but below, you'll find an example of a Link Data field styled as a center-aligned button.
This is the link, styled with Granicus brand colors and center-aligned. You'll need to replace the hex codes with your own brand colors.
<p align="center">
<a href='<ItemData DataDefinition="Link" Template="default"/>' style="display:flex; width: 89px; height: 36px; justify-content: center; align-items: center; flex-shrink: 0; background-color:#E5163D; border-radius: 4px; text-decoration: none; color:#F4F4F4"> Open Page
</a>
</p>
This is the same button link, in context with the bulletin message and salutations.
<div style="margin: 40px;">
Hey Resident,
<br/>
<EmailTag type="BulletinMessage"/>
<br/>
<p align="center">
<a href='<ItemData DataDefinition="Link" Template="default"/>' style="display:flex; width: 89px; height: 36px; justify-content: center; align-items: center; flex-shrink: 0; background-color:#E5163D; border-radius: 4px; text-decoration: none; color:#F4F4F4"> Open Page
</a>
</p>
<br/>
Cheers,
<br/>
Granicus
</div>