Get a Demo

Campaign App Templates

Each page within the campaign app has its own template to display that page's content.

Where to save template files Link

There are no app instances with the Campaign app so template files will go in a folder called campaign.

Below is an example folder structure:

  • themes
    • custom
      • theme.json
      • templates
        • home.twig
        • one-column.twig
        • two-column.twig
        • campaign
          • campaign.twig
          • campaigns.twig
          • categories.twig
          • category.twig
          • home.twig
          • subscribe.twig
          • unsubscribe.twig

App pages and their templates Link

Below is the list of campaign app pages and the name of the template file that you should create.

App home Link

The app home page often shows the campaigns that are configured to show in the archive and have been sent and/or categories.

Template name: home.twig

Campaign detail Link

This page shows the full details for an individual campaign that is configured to show in the archive and have been sent.

Template name: campaign.twig

Campaign list Link

This page shows a paginated list of campaigns that are configured to show in the archive and have been sent.

Template name: items.twig

Categories list Link

This page shows the list of categories.

Template name: categories.twig

Category detail Link

This page shows the detail information for an individual category. The items assigned to the category are often shown.

Template name: category.twig

Subscribe Link

The subscribe page is used to show the subscription form(s)

Template name: subscribe.twig

Unsubscribe Link

The unsubscribe page is used to show the results of a subscriber unsubscribing from one or more subscription lists.

Template name: unsubscribe.twig

Get Started With Aptuitiv