Using article templates

In the Planner administration menu, you can upload article templates that can be used for the articles. The article templates must be available as an InDesign document. When creating an article in the CMS, the article templates can then be selected to create a preview of the article. This gives you an impression of how the article will look. Page templates can also function as article templates.

Article templates in WordPress

Selecting an article template

  1. Create a new WordPress article as usual.
  2. Next to the post and block settings in the upper right corner is the Starlink Integration tab. Select the desired article template under Article template.
Selecting an article template in WordPress

Display of the preview in WordPress

After selecting an article template in WordPress and saving the article, a preview of the article with the selected article template is displayed under the Starlink Integration tab next to the post.

Preview of the article template in WordPress

Article templates in Drupal/Thunder

Initial configuration

  1. In Drupal or Thunder, under the Structure tab, click Content Types.
  2. Next to the Article content type, click Manage fields.
  3. Add a new field named ArticleTemplate. The field must be of type List (text), the label of the field should be ArticleTemplate so that the machine name is field_articletemplate.
  4. Under Allowed values list enter the names of the article templates from the admin area of the planner.
Field settings in Drupal und Thunder

Maintaining the article templates

For Drupal, we do not yet support that the article templates are automatically managed in the CMS when article templates are created/edited/deleted in the Planner admin user interface. The administrator in Drupal must therefore manually ensure that the values of the ArticleTemplate field in Drupal correspond exactly to the names of the article templates from the Planner admin area. This must also be case sensitive.

In addition, a placeholder named no template or similar must be created, which can be selected if no article template is to be used for an article in the CMS.

Selecting an article template

  1. Create a new Drupal or Thunder article as usual.
  2. Below the field for the article text, there is a tab ArticleTemplate. Select the desired article template here.
Selecting an article template in Drupal and Thunder

Displaying the preview in Drupal

After selecting an article template in Drupal and saving the article, a preview of the article with the selected article template is displayed under the Print Preview tab next to the article.

Preview of the article template in Drupal

Overset indicator in WordPress preview

If there is overset text in the headings, in the body text or in the captions of the placed articles, it is highlighted by a red marking in the text box.

Tables in WordPress

The tables from Word are taken over when they are inserted into WordPress. In WordPress, there are two different styles that can be used to format the table: Default and Stripes. If you click on the table in WordPress, you can choose the style in the block settings. To specify how the tables should look in InDesign, these styles need to be mapped to the table styles in InDesign.

  1. To do this, first open Planner and click Administration in the user menu at the top right.
  2. In the menu under Text, click on Mapped Styles.
  3. Click the + to set a new mapped style.
  4. Now, in the Cross-media Style field, enter either is-style-regular for the Default style or is-style-stripes for the Stripes style.
  5. In the Mapped InDesign Styles field, you can enter one or more InDesign style names.
  6. If you now confirm the entries, the respective WordPress table style will be interpreted as the table style you have specified for it when you place the post in InDesign.