YAML
Copy to clipboard
preferences:
feature_articles: y
objects:
-
type: article_type
ref: type
data:
name: New Type
allow: [ ratings, comments ]
show: [ author, reads, language ]
-
type: topic
ref: topic
data:
name: New Topic
-
type: article
ref: article
data:
title: Hello World!
body: Thanks for reading this announcement, even if it contains nothing of value.
heading: Read on...
type: $type
topic: $topic
Topic Object
Name | Mandatory | Value
|
name | yes | Topic name
|
Article Type Object
Name | Mandatory | Value
|
name | yes | Article type label
|
show | | pre_publication
|
| | post_expire
|
| | heading_only
|
| | image
|
| | avatar
|
| | author
|
| | publication_date
|
| | expiration_date
|
| | reads
|
| | size
|
| | topline
|
| | subtitle
|
| | link_to
|
| | image_caption
|
| | language
|
allow | | ratings
|
| | comments
|
| | comments_rating_article
|
| | creator_edit
|
Article Object
Name | Mandatory | Value
|
title | yes | Article title
|
topic | yes | Article topic (see Topic Object)
|
body | yes | Article content
|
type | | Article type, defaults to Article
|
author | | Full author name
|
heading | | Summary of the article displayed in listings
|
publication_date | | Defaults to install time
|
expiration_date | | Defaults to 30 days after install time
|
topline | |
|
subtitle | |
|
link_to | |
|
language | | Defaults to en
|