Article Types

Article types can be configured to show/hide standard fields and add additional fields.

Article types are defined in:

Applciation/Content-types/

from an article is available in the twig templates under"article" eg:

article.article_title 

article.custom_article_field

Restriciting Article Types available to components

A component can be configured to be restricted to a certain article type. When adding the 'article' control we can add an additiona parameter:

 array(
'name' => 'article_id',
'label' => 'Article',
'controltype' => 'article',
'value' => self::$article_id,
'article_type' => 'alert'
),

These are article types that are used (required) by a core component.

  • alert
  • article
  • image