Skip to main content
All CollectionsPersonal websitesDrupal
Drupal 7: Publishing to multiple node types
Drupal 7: Publishing to multiple node types

Connect StoryChief with multiple node types

Brik De Maeyer avatar
Written by Brik De Maeyer
Updated over 2 months ago

When you configure our Drupal module, you will be asked to choose a node type to use for creating articles. Some Drupal websites have multiple node types defined for different types of content. For this to work inside StoryChief, there are two additional necessary steps.


Publish to multiple node types

Step 1: Log in to your StoryChief account and go to the setting page and click through to the Custom fields.

Here, click "Add custom field" and select "Single option" to create a custom field with the node types you want to use.

™Step 2. Now we need to define the options. The value of the options should contain the "machine name" of your Drupal node types. The machine names can be found here https://your-website-domain.com/admin/structure/types.

Step 3. Save the custom field and go to your Drupal channel configuration page. Visiting the configuration page will trigger a synchronisation of the custom fields so they are visible inside Drupal.

Step 4. Configure Drupal to use the custom field as a node type. Go to the StoryChief Drupal module configuration page: https://your-website-domain.com/admin/config/services/storychief

In the section "Multiple node types" you can now select the custom field we created in Step 1 and click "Save configuration".

Step 5. When creating an article in StoryChief, you can choose the Node Type in the tab "Settings". If none is provided we use the default Node Type.


📚 Next steps

Did this answer your question?