Skip to main content

Using custom content type with TheMAG

Let's say that you want to create a new content type Video Blog (video_blog) and use the theme layouts on it. To do that, you have to do some Drupal configuration and create a few template files which will inherit everything from the original theme files.

  1. Go to the Manage fields section of video_blog content type and add these fields: Channel, Teaser media, and Teaser text. These fields define the teaser's style. Of course, you can add additional fields depends on your needs. If you like to make the full content display similar to the Article content type, you have to add Paragraphs and Panelizer fields.

  1. Click the Manage form display tabs under the video_blog content type and configure the fields like those in the Article (admin/structure/types/manage/article/form-display). This step is not required, but if you like to have a similar content editing experience with an article content type, you should do that.

  1. Click the Manage display tab, then click on the Custom display setting to expand the options. Enable the preferred display options and replicate the configuration from the Article content type.